Re:Pitfalls in Haskell
by taylorfausak on Monday August 22, 2016 @12:15PM
(#12337341)
I tried this out in PureScript [1]. I also made each type class have only one member and didn't specify any class hierarchy. I like how it works, but I don't know if anyone else does. It allows you to recreate the category theory type classes [2] if you want to:
[1]: https://github.com/tfausak/purescript-neon/blob/v0.5.4/src/N...
[2]: https://pursuit.purescript.org/packages/purescript-prelude/1...
[ Parent
| on HN ]
There are no comments on this comment yet.