either

An either monad transformer http://github.com/ekmett/either/

Version on this page:4.4.1
LTS Haskell 8.20:4.4.1.1
Stackage Nightly 2017-06-26:4.4.1.1
Latest on Hackage:4.4.1.1
BSD3 licensed by Edward A. Kmett
Maintained by Edward A. Kmett

Module documentation for 4.4.1

either

Hackage Build Status

This provides an Either monad transformer that unlike ErrorT is unencumbered by a constraint on its Left hand argument. This is needed for a number of applications of this monad transformer, notably in recursion-schemes.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett

Changes

4.4.1.1

  • Fixed building on newer GHCs. (type synonyms require explicit foralls for unused variables these days)

4.4.1

  • transformers 0.5 support
  • Documentation fixes

4.4

  • Support mmorph

4.3.4.1

  • Support MonadRandom 0.4

4.3.4

  • Support bifunctors 5, profunctors 5, and semigroupoids 5.

4.3.3.3

  • Fixed and enhanced documentation for eitherToError.

4.3.3.2

  • Support exceptions 0.8

4.3.3.1

  • Support exceptions 0.7

4.3.3

  • Added eitherToError.

4.3.2.1

  • Support monad-control 1.0

4.3.2

  • Added Validation.

4.3.0.2

  • Updated MonadRandom support.

4.3.0.1

  • Fixed import of MonadCatch to support versions of base before 4.6

4.3

  • Inverted dependency between free and either.

4.2

  • Added instances for MonadThrow, MonadCatch.

4.1

  • Added instances for MonadBase, MonadBaseControl, and MonadTransControl.

4.0

  • Updated dependencies.

3.4.2

  • Added 'Data.Either.Combinators'.

3.4.1

  • Trustworthy despite UndecidableInstances

3.4

  • Delegate fail to the underlying Monad, rather than error.

3.3

  • Inverted roles between Semigroup and Alt. This let us write Alternative and MonadPlus instances that are compatible.
  • Removed the Functor constraint on most instances in exchange for incurring a Monad constraint on Traversable. EitherT is after all, a Monad transformer first and foremost.

3.2

  • Changed the Semigroup to use a Semigroup to combine Left branches. Left Alt untouched, so you can mix and match.

3.1

  • Added instances for mtl classes and MonadRandom.
  • The meaning of mapEitherT has changed to match mapErrorT in the mtl. The old mapEitherT is now bimapEitherT.

3.0.3

  • Started CHANGELOG
Used by 171 packages:
CSPM-Frontend, DSH, Quickson, Saturnin, WaveFront, airship, amby, avers-server, aws-kinesis-reshard, backtracking-exceptions, blockchain, butcher, cabal-bounds, cabal-cargs, cabal-lenses, category-extras, catnplus, cgrep, citation-resolve, cj-token, cli-builder, codex, conduit-find, configifier, consul-haskell, control-invariants, convert, coroutine-object, cryptsy-api, dash-haskell, database-migrate, debian, dixi, drifter-postgresql, dsh-sql, dynamic-graph, easy-api, emailparse, engine-io, engine-io-wai, error-continuations, ethereum-client-haskell, exference, fficxx, ffmpeg-light, filediff, find-conduit, fixie, flamingra, fn-extra, formura, glabrous, glambda, growler, h-gpgme, happstack-heist, haskell-kubernetes, haskellscript, haskoin, haskoin-core, haskoin-node, haskoin-util, hasql, hasql-backend, hasql-postgres, haste-compiler, hcltest, hedis-simple, hexpr, hipbot, hipchat-hs, hledger-api, hnetcdf, hoggl, hoist-error, hoodle-core, hoodle-extra, hoodle-parser, hsoz, http-client-session, ical, imap, indieweb-algorithms, infernu, interruptible, jose-jwt, karps, katip, laika, language-puppet, language-qux, lens-prelude, librato, list-t-attoparsec, list-t-html-parser, list-t-libcurl, magicbane, marquise, mathblog, medium-sdk-haskell, melody, microformats2-parser, monad-journal, mtgoxapi, mustache, nomyx-api, oauthenticated, obd, objective, octohat, oculus, open-signals, optparse-simple, orchestrate, ot, pb-next, penny, pianola, pivotal-tracker, playlists-http, postgresql-query, postgresql-simple-opts, postgrest, postgrest-ws, pregame, presto-hdbc, psc-ide, quickcheck-property-monad, quickwebapp, rebase, references, replicant, restricted-workers, riff, sdr, serokell-util, servant-ede, servant-examples, servant-haxl-client, servant-snap, simple-conduit, slack, snaplet-sqlite-simple-jwt-auth, snaplet-wordpress, socketson, stack, stackage-cli, stratux-http, stratux-websockets, syncthing-hs, system-lifted, system-util, t3-server, tasty-integrate, themoviedb, themplate, thumbnail-plus, tibetan-utils, transformers-convert, ttask, twfy-api-client, typerbole, validate-input, verify, vigilance, vimeta, webcrank, xcffib, yahoo-finance-api, yesod-auth-ldap-native, yesod-crud-persist
comments powered byDisqus