|
|
|
|
|
by shirogane86x
1806 days ago
|
|
That's actually how list comprehensions work in F#: that would become: [for xs in xss do for x in xs -> x]
(where -> is a shorthand for do yield)
in practice (after 3 years of professional F#), when writing functional code i'd actually rather have the result first rather than last. I got used to reading code right to left with Haskell so that's what feels most natural to me |
|