Make "->" works in all for-loop to replace "do yield" #764
Make "->" works in all for-loop to replace "do yield"
I propose we should had the same way to use "->" in all for-loop segments
Affidavit (please submit!)
Please tick this by placing a cross in the box:
Please tick all that apply:
I don't really see that as being too good of a route. I'm not sure it's uniformly accepted that the equivalent Array/List/etc combinators are the way forward. Those can also be a bit more annoying to type out since you have to play the game of aligning the ending parenthesis.
The proposition is that these two forms:
should be deprecated in favour of
Oh that's what I'm suggesting - that this is the natural way to interpret/resolve/progress this suggestion.
I'm not really pushing it - I'm just saying it would be reasonable to completely remove the
These two looping constructs
are only in F# because of OCaml (Note