diff options
Diffstat (limited to 'html-test/src/QuasiQuote.hs')
-rw-r--r-- | html-test/src/QuasiQuote.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/html-test/src/QuasiQuote.hs b/html-test/src/QuasiQuote.hs new file mode 100644 index 00000000..06762cf9 --- /dev/null +++ b/html-test/src/QuasiQuote.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE TemplateHaskell, QuasiQuotes #-} + +-- example taken from the GHC documentation +module QuasiQuote where + +import QuasiExpr + +val :: Integer +val = eval [expr|1 + 2|] |