Module

Neon.Class.HasCompare

Package
purescript-neon
Repository
tfausak/purescript-neon

#HasCompare Source

class (HasEqual a, HasGreater a, HasLess a) <= HasCompare a  where

Represents type that have a total order.

2 :compare 1 -- GT
2 :compare 2 -- EQ
2 :compare 3 -- LT

Members

Instances