haskell-src-exts-1.14.0: Test/examples/MultiWayIf.hs
{-# LANGUAGE MultiWayIf #-}
module MultiWayIf where
foo = if | test1 -> e1
| test2 witharg -> e2
| otherwise -> def
{-# LANGUAGE MultiWayIf #-}
module MultiWayIf where
foo = if | test1 -> e1
| test2 witharg -> e2
| otherwise -> def