mirror of
https://github.com/google/ormolu.git
synced 2024-11-30 14:46:39 +03:00
24 lines
328 B
Haskell
24 lines
328 B
Haskell
-- | Something.
|
|
class Foo a where foo :: a
|
|
|
|
-- | Something more.
|
|
class Bar a where
|
|
-- | Bar
|
|
bar :: a -> a -> a
|
|
|
|
class Baz a where
|
|
-- | Baz
|
|
baz
|
|
:: ( a,
|
|
a -- ^ First argument
|
|
)
|
|
-> a -- ^ Second argument
|
|
-> a -- ^ Return value
|
|
|
|
class BarBaz a where
|
|
|
|
barbaz
|
|
:: a -> b
|
|
|
|
bazbar :: b -> a
|