ekmett / profunctors

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

Fix unsafeCoerce typo in Yoneda. #44

Closed ojw closed 7 years ago

ojw commented 7 years ago

Looks like unsafeCoerce was typo'd as unsafecoerce.

RyanGlScott commented 7 years ago

Thanks for doing this!

It looks like there's at least one more occurrence of unsafecoerce on line 188 of that module. Do you mind fixing that as well?

ojw commented 7 years ago

Ach, got lazy doing a drive-by in-browser edit. Hopefully that does it.

ojw commented 7 years ago

Well, if this fix doesn't do it I'll have to look at this tonight and get back to dayjob.

RyanGlScott commented 7 years ago

Ah, I think the issue here is just that old versions of hlint didn't deal with hashes properly. I believe I know how to work around this, so I'll just merge this PR with that change applied on top. Thanks!