summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows/should_compile/arrowapply3.hs
blob: 3a9b49da9299db8cace73e7eafada5875f37473e (plain)
1
2
3
4
5
6
7
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