on 116a5a8 help sign in
ormolu/data/examples/declaration/instance/single-parameter-out.hs
11 lines 119 B history raw
1instance Monoid Int where
3 (<>) x y = x + y
5instance Enum Int where
7 fromEnum x = x
9 toEnum =
10 \x ->
11 x