Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
contravariant
2y ago
0 comments
Share
Monads are fairly simple as well if you use C#'s brilliantly chosen names SELECT and SELECTMANY for the two relevant maps.
0 comments
default
newest
oldest
agumonkey
2y ago
> SELECTMANY
is that a form of flatmap ?
mormegil
2y 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).)
j
/
k
navigate · click thread line to collapse