Hello,<div><br></div><div>if you change from</div><div>&gt; test2 = [expr| test |]</div><div>to</div><div>&gt; test2 = [expr| $test |]</div><div>then it will be compile.</div><div><br></div><div>Do you want that or what?</div>
<div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">2012/10/2 Jake Wheat <span dir="ltr">&lt;<a href="mailto:jakewheatmail@gmail.com" target="_blank">jakewheatmail@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have a parser which parses to an ast which contains Text values. I<br>
am trying to use this parser with quasiquoting, but the implementation<br>
of Data for Text is incomplete. I&#39;ve attached a smallish test case,<br>
when I try to compile Text.hs I get:<br>
<br>
Text.hs:17:9:<br>
    Exception when trying to run compile-time code:<br>
      Data.Text.Text.toConstr<br>
      Code: Language.Haskell.TH.Quote.quoteExp expr &quot; test &quot;<br>
<br>
Is there a way to get this working?<br>
<br>
Thanks,<br>
Jake.<br>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>