Y
Hacker News
new
|
ask
|
show
|
jobs
by
contravariant
961 days ago
Monads are fairly simple as well if you use C#'s brilliantly chosen names SELECT and SELECTMANY for the two relevant maps.
1 comments
agumonkey
961 days ago
> SELECTMANY
is that a form of flatmap ?
link
mormegil
961 days ago
That's exactly it, SelectMany is what in .NET corresponds to flatMap in e.g. Java. (And, unlike the parent, I don't like the narrow scope of .NET naming very much, focusing on just the list monad (a.k.a. IEnumerable).)
link
is that a form of flatmap ?