on 8cb86d3 help sign in
ormolu/data/examples/declaration/value/function/case-multi-line-guards.hs
9 lines 127 B history raw
1withGuards :: Int -> Int
2withGuards x =
3 case x of
4 x | x > 10 ->
5 foo +
6 bar
7 x | x > 5 -> 10
8 _ -> 20