aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug8.hs
diff options
context:
space:
mode:
authorjpmoresmau <jp@moresmau.fr>2015-01-21 21:31:24 +0100
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2015-01-22 19:17:32 +0000
commit8d3df49ae1aa2eb58af530bba0c71817411fd49d (patch)
treefa2d0b966317a50deacfaeb616427ece4dec9984 /html-test/src/Bug8.hs
parent08c65a9cdd3eb01b1b9e3e5d572cd1fdc1bd4188 (diff)
support GHC 7.10: no Safe-Inferred, Foldable instance
Diffstat (limited to 'html-test/src/Bug8.hs')
-rw-r--r--html-test/src/Bug8.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/html-test/src/Bug8.hs b/html-test/src/Bug8.hs
index e569b01d..30afae1f 100644
--- a/html-test/src/Bug8.hs
+++ b/html-test/src/Bug8.hs
@@ -7,6 +7,7 @@ data Typ = Type (Typ,[Typ])
| TFree (Typ, [Typ])
x --> y = Type(s,[s,t])
+(--->) :: (Foldable t0) => t0 t -> Typ -> Typ
(--->) = flip $ foldr (-->)
s = undefined