[Template-haskell] Any changes on splice syntax in GHC6.4

WANG Meng wangmeng at comp.nus.edu.sg
Wed Mar 30 22:45:39 EST 2005


Do you mean this?

Prelude> $([|3|])
<interactive>:1: parse error on input `$'

It also does not work :(


 -W-M-
  @ @
   |
  \_/

On Wed, 30 Mar 2005, Lemmih wrote:

> On Thu, 31 Mar 2005 02:28:43 +0800 (GMT-8), WANG Meng
> <wangmeng at comp.nus.edu.sg> wrote:
> > Hi All,
> >
> > Any of you knows whether there are any changes on splice syntax in GHC6.4?
> >
> > Prelude> $[|1|]
> > <interactive>:1: parse error on input `$'
> >
> > What is the reason for this behaviour?
>
> Omitting the parentheses is apparently only allowed for variables.
>
> --
> Friendly,
>   Lemmih
>


More information about the template-haskell mailing list