@@ -0,0 +1,34 @@
1+module QuasiquoteBasics
3+import Language.Reflection
4+import Language.Reflection.Utils
10+three = `(S (S (S Z)))
13+twoElems = `(with List [(), ()])
19+thing tm = `(with List [Type, ~tm])
21+getTyArg : TT -> Maybe TT
22+getTyArg `(~f ~x) = Just x
30+ main = do putStrLn . show $ thing (copy nat)
31+ putStrLn "--------------"
32+ putStrLn . show $ getTyArg nat
33+ putStrLn "--------------"
34+ putStrLn . show $ getTyArg (twoElems)