summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read029.hs
blob: 863b906946912490d0c439575b9d0b02036bc8ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- !!! Special Ids and ops

-- The special ids 'as', 'qualified' and 'hiding' should be
-- OK in both qualified and unqualified form.
-- Ditto special ops

module ShouldCompile where
import Prelude hiding ( (-) )

as        = ShouldCompile.as
hiding    = ShouldCompile.hiding
qualified = ShouldCompile.qualified
x ! y     = x ShouldCompile.! y
x - y     = x ShouldCompile.- y