ekmett / profunctors

Haskell 98 Profunctors
http://hackage.haskell.org/package/profunctors
Other
70 stars 43 forks source link

using Data.Coerce needs to be trusted #39

Closed int-e closed 7 years ago

int-e commented 8 years ago

Data.Profunctor.Types is not inferred safe because it uses Data.Coerce, so mark it trustworthy.

glguy commented 8 years ago
[10 of 15] Compiling Data.Profunctor  ( src/Data/Profunctor.hs, dist/build/Data/Profunctor.o )
src/Data/Profunctor.hs:6:14: Warning:
    ‘Data.Profunctor’ is marked as Trustworthy but has been inferred as safe!

Now that .Types is trustworthy perhaps this module doesn't need to be.

int-e commented 8 years ago

So after all, ghc-7.6 and below require Data.Profunctor to be marked Trustworthy if it's supposed to be imported safely.

int-e commented 7 years ago

After more than a year, this change still has not made it to hackage. :-(

ekmett commented 7 years ago

Then I suppose maybe I should do something about that. =P

RyanGlScott commented 7 years ago

Sorry for the delay! I've uploaded profunctors-5.2.1 to Hackage.