Monad trait in Scala

前端 未结 0 328
轻奢々
轻奢々 2020-12-23 07:49

(How) is it possible to represent monads in Scala in a generic way (like the Monad typeclass in Haskell)? Is it somehow possible to define a trait Monad

相关标签:
回答
  • 消灭零回复
提交回复
热议问题