1 2 3 4 5 6 7 8 9 10
{-# LANGUAGE Arrows, EmptyCase #-} import Control.Arrow main = print $ baz (Just 43) baz :: ArrowChoice p => p (Maybe Int) String baz = proc x -> (| id (case () of) |) x