A Haskell Function that returns a comparrison enum:
LT
EQ
GT
between two numbersx,y
to see ifx > y
compare x y
Checking Equal
(compare 2 2) == EQ
A Haskell Function that returns a comparrison enum:
LT
EQ
GT
between two numbers x,y
to see if x > y
compare x y
(compare 2 2) == EQ