From a standpoint of someone completely unfamiliar with F#:
- Question states desired behavior ("I want to remove
nan
s") - Question contains (pretty short) code necessary to reproduce it
- Question contains sample input
What it seems lacking is:
- Output for the sample input
- Clear problem statement
It turns out that the obvious interpretation of "doesn't work as expected" - that it does not remove the nan
s - is correct.
It definitely isn't aThe question that couldn'tdefinitely could be improved, but contains most of the relevant info, with the rest implied. And in hindsight, it having an accepted answer is an evidence that it was not so bad that it couldn't be solved without providing more info.
On a side note, I don't believe adding the output (which would be just repeating the input) or adding "it doesn't remove nan
s" would make it any more discoverable.