[Haskell-cafe] Data.Text and quasi quoting
olshanskydr at gmail.com
Wed Oct 3 07:23:15 CEST 2012
if you change from
> test2 = [expr| test |]
> test2 = [expr| $test |]
then it will be compile.
Do you want that or what?
2012/10/2 Jake Wheat <jakewheatmail at gmail.com>
> I have a parser which parses to an ast which contains Text values. I
> am trying to use this parser with quasiquoting, but the implementation
> of Data for Text is incomplete. I've attached a smallish test case,
> when I try to compile Text.hs I get:
> Exception when trying to run compile-time code:
> Code: Language.Haskell.TH.Quote.quoteExp expr " test "
> Is there a way to get this working?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe