fourmolu-0.0.6.0: data/examples/declaration/value/function/multi-way-if-out.hs
{-# LANGUAGE MultiWayIf #-}
foo x = if | x == 5 -> 5
bar x y =
if
| x > y -> x
| x < y ->
y
| otherwise -> x
baz =
if
| p -> f
| otherwise -> g
x