packages feed

fourmolu-0.0.6.0: data/examples/declaration/class/multi-parameters1.hs

{-# LANGUAGE MultiParamTypeClasses #-}

class Foo a b where foo :: a -> b

-- | Something.
class Bar a b c d
  where
    bar ::
           a
        -> b
        -> c
        -> d

class -- Before name
    Baz
  where
    baz :: Int