aboutsummaryrefslogtreecommitdiff
path: root/html-test/tests/Bug8.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/tests/Bug8.hs')
-rw-r--r--html-test/tests/Bug8.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/html-test/tests/Bug8.hs b/html-test/tests/Bug8.hs
new file mode 100644
index 00000000..18df63c8
--- /dev/null
+++ b/html-test/tests/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