1
1
mirror of https://github.com/google/ormolu.git synced 2024-12-01 00:32:04 +03:00
ormolu/data/examples/declaration/class/default-implementations-out.hs

12 lines
125 B
Haskell
Raw Normal View History

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