summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/arrows/should_compile/arrowapply1.hs
blob: abad47de2684bcc5fa909db6fb730628b56d41e8 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE Arrows #-}

module ShouldCompile where

import Control.Arrow

f :: Arrow a => a (Int,Int,Int) Int
f = proc (x,y,z) -> returnA -< x+y