[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: language-javascript in Debian



Just investigated a bit further.  The Lexer.x error goes away if you install the version of Alex at

https://github.com/jyp/Alex/tree/utf8

My compiler (7.0.3, installed from the GHC web site the deb was not in testing before), using locale en_ZA.utf8 does not complain about the epsilon symbol in the comment around 12.4

I can try again against the current ghc in testing, I see it came available today.

Alan

On Sat, Jun 11, 2011 at 8:40 PM, Alan & Kim Zimmerman <alan.zimm@gmail.com> wrote:
Hi Clint/Philip

What version of GHC are you using?

Also, the package can only build against a specific branch of Alex on github, to provide the full unicode support.

Have you cloned it on github?

Alan


On Sat, Jun 11, 2011 at 8:24 PM, Philip Weaver <philip.weaver@gmail.com> wrote:
I think you want one of these LANGUAGE pragmas:

ExplicitForAll
ScopedTypeVariables

There might be one more that applies here that I'm not thinking of.

- Philip

On Sat, Jun 11, 2011 at 11:06 AM, Clint Adams <clint@debian.org> wrote:
I'm trying to package language-_javascript_ 0.4.4 for Debian and I'm
running into some trouble.

The first problem is that it gets upset about an invalid character
on the lookahead line after 12.4 in
src/Language/_javascript_/Parser/Grammar5.y

Removing that, it continues and then fails because of

src/Language/_javascript_/Parser/Lexer.x:362:40:
   Illegal symbol '.' in type
   Perhaps you intended -XRankNTypes or similar flag
   to enable explicit-forall syntax: forall <tvs>. <type>


I tried putting
{-# LANGUAGE RankNTypes #-}
at the top, but it still wouldn't build.

Can you help?


--
To UNSUBSCRIBE, email to debian-haskell-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20110611180621.GA6352@scru.org" target="_blank">http://lists.debian.org/[🔎] 20110611180621.GA6352@scru.org





Reply to: