aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug8.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src/Bug8.hs')
-rw-r--r--html-test/src/Bug8.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/html-test/src/Bug8.hs b/html-test/src/Bug8.hs
new file mode 100644
index 00000000..18df63c8
--- /dev/null
+++ b/html-test/src/Bug8.hs
@@ -0,0 +1,14 @@
+module Bug8 where
+
+infix -->
+infix --->
+
+data Typ = Type (String,[Typ])
+ | TFree (String, [String])
+
+x --> y = Type("fun",[s,t])
+(--->) = flip $ foldr (-->)
+
+s = undefined
+t = undefined
+main = undefined