1
1
mirror of https://github.com/google/ormolu.git synced 2024-12-03 18:52:19 +03:00
ormolu/data/examples/declaration/class/associated-data-out.hs

28 lines
325 B
Haskell
Raw Normal View History

{-# LANGUAGE TypeFamilies #-}
class Foo a where
data FooBar a
-- | Something.
class Bar a where
-- | Bar bar
data BarBar a
-- | Bar baz
data
BarBaz
a
-- | Something more.
class Baz a where
-- | Baz bar
data
BazBar
a
b
c
-- | Baz baz
data
BazBaz
b
a
c