summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows/should_fail/arrowfail003.hs
blob: 2f8cfeeaedb0cc4cf86a9fe1711797183d4f64a0 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE Arrows #-}
-- Arrow commands where an expression is expected

module ShouldFail where

import Control.Arrow

foo = returnA -< []
bar = (|zeroArrow|)