I'm beginning to learn Haskell, by posting a small tip on t…

Twetch ·

I'm beginning to learn Haskell, by posting a small tip on twetch everyday. Today tip is the equality function:

(==) :: (Eq a) => a -> a -> Bool
Everything before the => symbol is called a class constraint.