[Haskell-cafe] Re: Multi-line string literals are both easy /and/elegant in Haskell

2008-10-15 Thread Simon Marlow
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:

[Haskell-cafe] Re: Multi-line string literals are both easy /and/ elegant in Haskell

2008-10-14 Thread Matt Morrow
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

[Haskell-cafe] Re: Multi-line string literals are both easy /and/ elegant in Haskell

2008-10-13 Thread Mauricio
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: