mirror of
https://github.com/google/ormolu.git
synced 2024-12-11 21:09:47 +03:00
33 lines
395 B
Haskell
33 lines
395 B
Haskell
{-# LANGUAGE MultiParamTypeClasses #-}
|
|
|
|
class Foo a b where foo :: a -> b
|
|
|
|
-- | Something.
|
|
class Bar
|
|
a b c d
|
|
where
|
|
bar ::
|
|
a
|
|
-> b
|
|
-> c
|
|
-> d
|
|
|
|
class Baz
|
|
where
|
|
baz :: Int
|
|
|
|
-- | Something else.
|
|
class
|
|
BarBaz
|
|
a
|
|
b
|
|
c
|
|
d
|
|
e
|
|
f where
|
|
barbaz ::
|
|
a -> f
|
|
bazbar ::
|
|
e ->
|
|
f
|