Closed DavidHarrison closed 9 years ago
:100: Wow, thank you! I'll put this on Pursuit as well.
Thank you, it will be nice to have it on Pursuit (which has been incredibly helpful in working with PureScript!). Just let me know if there are any changes I should make, especially in the naming conventions.
It looks great to me, I added it here by the way:
http://pursuit.purescript.org/packages/purescript-isomorphisms/0.1.0/docs/Data.Iso
Thanks again.
The only change needed for 0.7 was replacing
(<<<)
withcompose
in theSemigroupoid
instance. The isomorphisms are mostly arithmetic laws. The naming for the isomorphisms is fairly ad hoc, though I generally aimed to name them after the law they demonstrate. I have seen Idris name them similarly, but using the actual constructor names (e.g.Void
vsZero
).