3 ms·
I wish Scala could hide monads in syntax as well as Haskell does
by rs86 8y ago
I wish Scala could hide monads in syntax as well as Haskell does
- still_grokking 8y agoScala's for comprehensions resemble Haskell's do-notation quite well. So there is some syntax to work with monads in Scala. The big difference is that Scala's for isn't guarantied to be a pure expression.
- Nullabillity 8y agoI just wish for..yield didn't look quite so much like a loop.