tagged-identity

Trivial monad transformer that allows identical monad stacks have different types

https://github.com/mrkkrp/tagged-identity

Version on this page:0.1.2
LTS Haskell 23.0:0.1.4@rev:1
Stackage Nightly 2024-12-09:0.1.4@rev:1
Latest on Hackage:0.1.4@rev:1

See all snapshots tagged-identity appears in

BSD-3-Clause licensed and maintained by Mark Karpov
This version can be pinned in stack with:tagged-identity-0.1.2@sha256:ca9e16f61f27e3ef6ece07cc7e44285058dec0edd67dffdea97a347ec9ad51f0,1393

Module documentation for 0.1.2

Depends on 3 packages(full list with versions):

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 the 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.

License

Copyright © 2016–2017 Mark Karpov

Distributed under BSD 3 clause license.

Changes

Tagged Identity 0.1.2

  • Minor documentation and metadata updates.

Tagged Identity 0.1.1

  • Fixed badges in README.md file.

Tagged Identity 0.1.0

  • Initial release.