The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Josep Prat (14) [Avatar] Offline
#1
I think it's worth noting that since Scala 2.12, the Either implementation provided by Scala's Standard Library is right biased. So for this particular case, Scalaz \/ is no longer needed and it could be replaced by the standard Either.

See release notes for Scala 2.12: http://scala-lang.org/news/2.12.0
Debasish Ghosh (116) [Avatar] Offline
#2
true .. in Scala 2.12, Either is right biased. But scalaz \/ offers lots of combinators including itself being a Monad. Note Scala standard library does not have a generic Monad. So, yeah in some places you can replace \/ with Either, but not all.

Thanks.
Josep Prat (14) [Avatar] Offline
#3
Oh yes, you are right! Scalaz \/ it's needed stil needed for the combinators