Either is not a Monad in Scala: http://stackoverflow.com/questions/10866710/using-eithers-with-scala-for-syntax … #scala
@ssanj Bzzt, Either is a monad in Scala. Either[T, _] specifically. It's just not implemented.
-
-
@dibblego bind/flatMap is part of the Monad contract. Either does not have flatMap in Scala. You need to use the left and right projections. -
@ssanj The absence or presence of implementation has no bearing on "is a monad." - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.