repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(cabal check) Add "Autogen include" test for ts
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
QuasiQuotes
/
profiling
/
QQ.hs
blob
bd2fc6c4fc947a41c7ef86e3af70b25f19d73e93
1
module
QQ
where
2
3
import
Language
.
Haskell
.
TH
4
import
Language
.
Haskell
.
TH
.
Quote
5
6
myq
=
QuasiQuoter
{
quoteExp
= \
s
->
litE
$
stringL
$
s
++
" world"
}