packages feed

fourmolu-0.2.0.0: data/examples/declaration/class/default-implementations-four-out.hs

module Main where

-- | Foo
class Foo a where
    foo :: a -> a
    foo a = a

-- | Bar
class Bar a where
    bar ::
        a ->
        Int
    bar = const 0