1
1
mirror of https://github.com/google/ormolu.git synced 2024-12-13 03:34:12 +03:00
ormolu/data/examples/declaration/class/super-classes-out.hs
yumiova ba64967c03 Implement properly indented constraint contexts
Essentially, it simply indents the constraints one layer, instead of hanging the constraints off of `class` or `instance`.
2019-06-28 21:09:15 +02:00

15 lines
147 B
Haskell

class Foo a
class Foo a => Bar a
class
(Foo a, Bar a)
=> Baz a
class
( Foo a -- Foo?
, Bar a -- Bar?
, Baz a -- Baz
)
=> BarBar a