transformers 0.4: change in accessor function exports?

Roman Cheplyaka roma at ro-che.info
Wed May 7 12:54:50 UTC 2014


* Herbert Valerio Riedel <hvr at gnu.org> [2014-05-07 12:15:58+0200]
> Btw, as I can't think of an example right now, what would be an example
> for code that works with transformers-0.4.0.0 but wouldn't compile
> anymore with transformers-0.4.1.0?

  {-# LANGUAGE RecordWildCards #-}
  import qualified Control.Monad.Trans.Identity as I
  I.Identity {..} = I.Identity ()
  runIdentity = ()

(untested, but I think it does the trick)

Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140507/2f95cdb4/attachment.sig>


More information about the Libraries mailing list