Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type family Compare x y Source
type Compare False False = EQ | |
type Compare False True = LT | |
type Compare True False = GT | |
type Compare True True = EQ | |
type Compare GT GT = EQ | |
type Compare GT EQ = GT | |
type Compare GT LT = GT | |
type Compare EQ GT = LT | |
type Compare EQ EQ = EQ | |
type Compare EQ LT = GT | |
type Compare LT GT = LT | |
type Compare LT EQ = LT | |
type Compare LT LT = EQ | |
type Compare (Dec x) (Dec y) = Compare x y |