diff options
Diffstat (limited to 'testsuite/tests/arrows/should_compile/arrowapply3.hs')
-rw-r--r-- | testsuite/tests/arrows/should_compile/arrowapply3.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/arrows/should_compile/arrowapply3.hs b/testsuite/tests/arrows/should_compile/arrowapply3.hs new file mode 100644 index 0000000000..3a9b49da92 --- /dev/null +++ b/testsuite/tests/arrows/should_compile/arrowapply3.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE Arrows #-} + +module ShouldCompile where + +import Control.Arrow + +g :: Arrow a => a Int c -> a Int c +g f = proc b -> f -< b+2 |