aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Bug745.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src/Bug745.hs')
-rw-r--r--html-test/src/Bug745.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/html-test/src/Bug745.hs b/html-test/src/Bug745.hs
new file mode 100644
index 00000000..f26562c1
--- /dev/null
+++ b/html-test/src/Bug745.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell, QuasiQuotes #-}
+
+module Bug574 where
+-- See https://github.com/haskell/haddock/issues/574
+
+-- | Somthing with a spliced type
+foo :: Int -> $(let i = [t| Int |] in [t| $i -> $i |])
+foo x y = x + y