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 <[email protected]>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 <[email protected]> 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 [email protected] >> with a subject of "unsubscribe". Trouble? Contact >> [email protected] >> Archive: http://lists.debian.org/[email protected] >> >> >
