1 2 3 4 5 6 7
{-# LANGUAGE TemplateHaskell #-} module Lib where import Language.Haskell.TH x :: Int -> ExpQ x n = [| 3 + n |]