The tagged-identity package

[ Tags: bsd3, control, library ] [ Propose Tags ]

Trivial monad transformer that allows identical monad stacks have different types.


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.1, 0.1.2
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5.0), mtl (>=2.0 && <3.0), transformers (>=0.4 && <0.6) [details]
License BSD3
Author Mark Karpov <markkarpov92@gmail.com>
Maintainer Mark Karpov <markkarpov92@gmail.com>
Category Control
Home page https://github.com/mrkkrp/tagged-identity
Bug tracker https://github.com/mrkkrp/tagged-identity/issues
Source repository head: git clone https://github.com/mrkkrp/tagged-identity.git
Uploaded Tue May 23 13:12:20 UTC 2017 by mrkkrp
Distributions LTSHaskell:0.1.2, NixOS:0.1.2, Stackage:0.1.2, Tumbleweed:0.1.2
Downloads 263 total (73 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-05-23 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
dev

Turn on development settings.

DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for tagged-identity-0.1.2

[back to package description]

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.