Trivial monad transformer that allows identical monad stacks have different types https://github.com/mrkkrp/tagged-identity

LTS Haskell 8.12:0.1.1
Stackage Nightly 2017-04-24:0.1.1
Latest on Hackage:0.1.1
BSD3 licensed and maintained by Mark Karpov

Module documentation for 0.1.1

Tagged Identity

License BSD3 Hackage Stackage Nightly Stackage LTS Build Status

The library provides a monad transformer that works just like IdentityT, but can be tagged at type level. This allows to work with monad stacks as usual, but you can make two identical monad stacks have different types. The main application of this is, of course, the ability to have different instances for otherwise the same stacks without having to do opaque newtype wrapping which is not handy with monad stacks.


Copyright © 2016 Mark Karpov

Distributed under BSD 3 clause license.


Tagged Identity 0.1.1

  • Fixed badges in README.md file.

Tagged Identity 0.1.0

  • Initial release.
Depends on:
comments powered byDisqus