purescript-typelevel-prelude
purescript-typelevel-prelude copied to clipboard
WIP: added Compare classes to Ordering
This PR adds a Typelevel Compare Type-Class, which can be used for comparing custom types (like Typelevel Numbers).
The PR also adds helper classes like Lte a b isLte
@csicar Can you rebase this on top of master?
Changed to WIP. I'll need to look into the 0.14 changed a bit more to update this PR correctly
In light of Harry's comment in your other PR, I'm wondering whether we should create a separate typelevel library in purescript-contrib org that can store more typelevel code