summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/proposal-229b.hs
blob: 9182623e54632b7e24d559abfe9b789a62d69214 (plain)
1
2
3
4
5
6
7
8
9
10
module Proposal229b ((~), (@)) where

(~) :: a -> b -> (a, b)
x ~ y = (x, y)

(@) :: a -> b -> (a, b)
x @ y = (x, y)

r :: ((Bool, Bool), Bool)
r = True ~ False @ True