1 2 3 4 5 6 7 8
{-# LANGUAGE Arrows, LambdaCase #-} module ParserArrowLambdaCase where import Control.Arrow foo :: () -> () foo = proc () -> (| id (\case () -> () >- returnA) |) ()