diff options
author | David Waern <david.waern@gmail.com> | 2008-11-04 21:13:44 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-11-04 21:13:44 +0000 |
commit | a8fca69206b700c78d803b335b6f471913fb11ef (patch) | |
tree | 5e238fd932d7b49b7776b7cd70f75f339f828028 /tests | |
parent | 879b4e51e3a1a1b1dec436078ef621258afc81ad (diff) |
Add tests/TH.hs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests/TH.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tests/TH.hs b/tests/tests/TH.hs new file mode 100644 index 00000000..2be0c723 --- /dev/null +++ b/tests/tests/TH.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE TemplateHaskell #-} + +module TH where + +import Language.Haskell.TH + +decl :: Q [Dec] +decl = [d| f x = x * 2 |] |