on 656d036 help sign in
ormolu/data/examples/declaration/instance/single-parameter-out.hs
7 lines 110 B history raw
1instance Monoid Int where
2 (<>) x y = x + y
4instance Enum Int where
5 fromEnum x = x
6 toEnum = \x ->
7 x