summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/ParserArrowLambdaCase.hs
blob: b16eb7579ba0bd477100beb8fa79a8dfed396f92 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE Arrows, LambdaCase #-}
module ParserArrowLambdaCase where

import Control.Arrow

foo :: () -> ()
foo = proc () -> (| id (\case
  () -> () >- returnA) |) ()