09 types and type classes 2 handout
User-Define Types and Type Classes 2 Thumrongsak Kosiyatrakul Thumrongsak Kosiyatrakul User-Define Types and Type Classes 2 Instance of the Eq Type Class Let¡¯s look at the information about the Eq type class: ghci> :i Eq class Eq a where (==) :: a -> a -> Bool (/=) :: a -> a -> Bool {-# MINIMAL […]
09 types and type classes 2 handout Read More »