purescript-contrib / purescript-pathy

A type-safe abstraction for platform-independent file system paths.
Apache License 2.0
33 stars 17 forks source link

Ord instance is broken #21

Closed garyb closed 8 years ago

garyb commented 8 years ago

I have a bunch of paths as keys in a map, and for some paths they are not resolvable despite being in the keys of the map. When the "missing" key is compared with each value in the keys, you get things like this:

[GT, GT, GT, GT, GT, GT, GT, GT, GT, GT, GT, LT, EQ, LT, LT, LT, LT, LT, LT, LT, LT, LT]

Note the LT before the EQ.