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

24 lines
303 B
Haskell

{-# 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