blob: 2bd726a286cbbd8661a3b788e1cb3fd5af2112a8 (
plain) (
tree)
|
|
{-# LANGUAGE Haskell2010 #-}
module Classes where
class Foo f where
bar :: f a -> f b -> f (a, b)
baz :: f ()
baz = undefined
class Quux q where
(+++), (///) :: q -> q -> q
(***), logBase :: q -> q -> q
foo, quux :: q -> q -> q
|