@hackage transformers-compat0.6.5

A small compatibility shim for the transformers library

  • Installation

  • Tested Compilers

  • Dependencies (6)

  • Dependents (196)

    @hackage/exception-transformers, @hackage/protolude, @hackage/configuration-tools, @hackage/invariant, @hackage/logger, @hackage/transformers-base, Show all…
  • Package Flags

      two
       (off by default)

      Use transformers 0.2. This will be selected by cabal picking the appropriate version.

      three
       (off by default)

      Use transformers 0.3. This will be selected by cabal picking the appropriate version.

      four
       (off by default)

      Use transformers 0.4. This will be selected by cabal picking the appropriate version.

      five
       (off by default)

      Use transformers 0.5 up until (but not including) 0.5.3. This will be selected by cabal picking the appropriate version.

      five-three
       (off by default)

      Use transformers 0.5.3. This will be selected by cabal picking the appropriate version.

      mtl
       (on by default)
      • f-mtl Disables support for mtl for transformers 0.2 and 0.3. That is an unsupported configuration, and results in missing instances for ExceptT.

      generic-deriving
       (on by default)
      • f-generic-deriving prevents generic-deriving from being built as a dependency. This disables certain aspects of generics for older versions of GHC. In particular, Generic(1) instances will not be backported prior to GHC 7.2, and generic operations over unlifted types will not be backported prior to GHC 8.0. This is an unsupported configuration.

transformers-compat

Hackage Build Status

This provides a thin compatibility shim on top of transformers-0.2 to add the types that were added in transformers-0.3.

This enables users to maintain haskell-platform compatibility, while still gaining access ot the new functionality.

The writer-cps-transformers package backports the Control.Monad.Trans.{RWS,Writer}.CPS modules that were introduced in transformers-0.5.6.0. There are also a variety of companion packages which backport orphan instances for these types. One example is writer-cps-mtl, which backports instances of type classes from the mtl library.

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