Don Stewart wrote:
mjm2002:
On 10/13/08, Andrew Coppin wrote:
Cool. Is there any progress on getting GHC to *not* freak out when you
ask it to compile a CAF containing several hundred KB of string literal? :-}
Yes and no. There's dons' compiled-constants pkg which has a solution:
How exactly QuasiQuote behave, and what
is available to handle them? (Or: can I
find information already on the web?)
A QuasiQuoter is
data QuasiQuoter
= QuasiQuoter {quoteExp :: String - Q Exp,
quotePat :: String - Q Pat}
-- Defined in Language.Haskell.TH.Quote
The new QuasiQuotes extension arriving with ghc 6.10 is very exciting,
and handling multi-line string literals is like stealing candy from
a baby. ;)
(...)
Cool!!!
How exactly QuasiQuote behave, and what
is available to handle them? (Or: can I
find information already on the web?)
Sugestion: