mirror of
https://github.com/google/ormolu.git
synced 2024-12-01 00:32:04 +03:00
27 lines
359 B
Haskell
27 lines
359 B
Haskell
{-# LANGUAGE TypeFamilies #-}
|
|
|
|
class Foo a where data FooBar a
|
|
|
|
-- | Something.
|
|
class Bar a
|
|
where
|
|
-- | Bar bar
|
|
data BarBar a
|
|
-- | Bar baz
|
|
data family BarBaz
|
|
a
|
|
|
|
-- | Something more.
|
|
class Baz a where
|
|
-- | Baz bar
|
|
data BazBar
|
|
a
|
|
b
|
|
c
|
|
|
|
-- | Baz baz
|
|
data family BazBaz
|
|
b
|
|
a
|
|
c
|