QuasiQuotes and trhsx

5 views
Skip to first unread message

stepcut

unread,
May 14, 2011, 3:50:57 PM5/14/11
to Haskell Server Pages
Hello,

In GHC 7.x, you do not need $ for quasi-quotes anymore. But trhsx does
not seem to know this. So instead of:

<% [jmacro| alert('hello'); |] %>

I need tho older syntax:

<% [$jmacro| alert('hello'); |] %>

It's not a big deal, but it does generate a lot of warnings like:

examples/example1.lhs:86:20:
Warning: Deprecated syntax:
quasiquotes no longer need a dollar sign: $jmacro

So, it would be nice to fix eventually.

thanks!
- jeremy

Niklas Broberg

unread,
May 16, 2011, 5:40:56 AM5/16/11
to haskell-se...@googlegroups.com
On Sat, May 14, 2011 at 9:50 PM, stepcut <jer...@n-heptane.com> wrote:
In GHC 7.x, you do not need $ for quasi-quotes anymore. But trhsx does
 not seem to know this.

Indeed, I haven't had time to update haskell-src-exts to the latest tweaks that come with GHC 7.
 
So, it would be nice to fix eventually.

Definitely! Can't promise a time though, but soonish. Would you post a ticket at http://trac.haskell.org/haskell-src-exts ?

Cheers,

/Niklas
Reply all
Reply to author
Forward
0 new messages