File: Bug8.hs

package info (click to toggle)
haskell-haddock 2.7.2-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 784 kB
  • ctags: 44
  • sloc: haskell: 6,432; xml: 1,429; yacc: 82; makefile: 15; sh: 1
file content (8 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (6)
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 (-->)