aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/TH.hs
diff options
context:
space:
mode:
Diffstat (limited to 'html-test/src/TH.hs')
-rw-r--r--html-test/src/TH.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/html-test/src/TH.hs b/html-test/src/TH.hs
new file mode 100644
index 00000000..f8178bcb
--- /dev/null
+++ b/html-test/src/TH.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module TH where
+
+import Language.Haskell.TH
+
+decl :: Q [Dec]
+decl = [d| f x = x|]