summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/SplicesUsed.hs
blob: 8a5abb30852d597d13d315bc489a913fe3967d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{-# LANGUAGE TemplateHaskell, PartialTypeSignatures, NamedWildCards #-}

module SplicesUsed where

import Splices

maybeBool :: $(metaType1)
maybeBool = $(metaExp2) $(metaExp1)

charA :: a -> $(metaType2)
charA x = ('x', x)

filter' :: $(metaType3)
filter' = filter

$(metaDec1)

$(metaDec2)