Andrea Lorenzani's blog

Senior SW Engineer

Tag

foreach

Monads in Scala (and for comprehension)

After the discussion about Monads I decided to try to implement a Monad in Scala, eventually without copying from other Monads. My idea was to write something link Option or Try, so a container of a single, optional, value. I started by defining a… Continue reading →

Share

© 2017 Andrea Lorenzani's blog — Powered by WordPress

Theme by Anders NorenUp ↑