eXist-db / exist-xqts-runner

W3C XQTS driver for eXist-db
GNU Lesser General Public License v3.0
5 stars 6 forks source link

Remove Scalaz #26

Closed adamretter closed 2 years ago

adamretter commented 2 years ago

We previously used Scalaz for its right-biased Disjunction (i.e. \/). Scalaz seems to no longer be popular, many people are now using Cats instead (on which we already have a dependency for IO).

Since Scala 2.12.x, Scala's own disjunction type, Either, is now right biased so for the most part we can just use that. Cats provides some additional Applicatives for Either which can replace our other uses of Scalaz.