tilia-0.2.0.0: corpora/vendored/cpp/separator/do-block-after-a-varying-infix-head.hs
{-# LANGUAGE CPP #-}
module Audio.Mix where
-- An equation and a case alternative whose head is written infix, with
-- the operator in each branch and a do block hanging after the separator.
x
#if MIN_VERSION_base(4,18,0)
<->
#else
`fade`
#endif
y = do
unmix x y
loudness :: Tracks -> IO Int
loudness tracks = case tracks of
left
#if MIN_VERSION_base(4,18,0)
:|
#else
:<
#endif
right -> do
peak left right