aboutsummaryrefslogtreecommitdiff
path: root/examples/Bug8.hs
blob: 6481ca3f3f0d648f1a54cd5972091d0957c21bec (plain) (blame)
1
2
3
4
5
6
7
8
infix -->
infix --->

data Typ = Type (String,[Typ])
         | TFree (String, [String])

x --> y = Type("fun",[s,t])
(--->) = flip $ foldr (-->)