aboutsummaryrefslogtreecommitdiff
path: root/hypsrc-test/src/TemplateHaskellSplices.hs
blob: 66af36a39310cbe7cbc979d19957d7da6b312c89 (plain) (blame)
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)