transformers 0.4: change in accessor function exports?

Henning Thielemann schlepptop at henning-thielemann.de
Wed May 7 13:36:26 UTC 2014


Am 07.05.2014 12:15, schrieb Herbert Valerio Riedel:
> On 2014-05-07 at 11:47:25 +0200, Henning Thielemann wrote:
>> However, turning the runIdentity function back into a record field
>> name in 0.4.1.0, was another breaking change that only got a minor
>> version bump. :-(
>
> 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?

E.g.

import Data.Functor.Identity (Identity(..))

runIdentity :: Identity a -> a
runIdentity (Identity a) = a


This would work with transformers-0.4.0.0 but gives a name clash with 
transformers-0.4.1.0.



More information about the Libraries mailing list