packages feed

ormolu-0.0.1.0: data/examples/declaration/class/default-implementations-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