How do I write the type signature of this function in Haskell?
isEarlier (a, b) (x, y) = (a * 60 + b) < (x * 60 + y)
It decides if a date is earlier than the other one and print out True/False.
How do I write the type signature of this function in Haskell?
isEarlier (a, b) (x, y) = (a * 60 + b) < (x * 60 + y)
It decides if a date is earlier than the other one and print out True/False.