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

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

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

2008-10-14 Thread Don Stewart
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] Multi-line string literals are both easy /and/ elegant in Haskell

2008-10-13 Thread Matt Morrow
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. ;) - -- Here.hs module Here (here) where import Language.Haskell.TH.Quote

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

2008-10-13 Thread Andrew Coppin
Matt Morrow wrote: 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. Is there any progress on getting GHC to *not* freak out when you ask it to compile a CAF containing several hundred

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

2008-10-13 Thread L.Guo
-10-14 02:15:30 Subject: [Haskell-cafe] Multi-line string literals are both easy /and/elegant in Haskell 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