IdentityT to transformers

Henning Thielemann lemming at
Thu Feb 12 14:06:30 EST 2009

On Thu, 12 Feb 2009, Henning Thielemann wrote:

> Unfortunately I have just another wish. In a parser I like to show by types 
> whether the parser can fail or not. To this end I have a type parameter for a 
> monad transformer that can be instantiated either by MaybeT or by IdentityT. 
> The only problem is, that there is no IdentityT in transformers package, yet.

Does the attached module makes sense?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Identity.hs
Type: text/x-haskell
Size: 2481 bytes
Url :

More information about the Libraries mailing list