1 2 3 4 5 6 7 8 9 10 11 12 13
{-# LANGUAGE Haskell2010 #-} {-# LANGUAGE TemplateHaskell #-} module TemplateHaskellSplices where import TemplateHaskellQuasiquotes $(aDecl) foo = id $(anExpression2) pat $(aPattern) = () qux = id $$(typedExpr)