Bernadette . Perrin-Riou on Sun, 10 Mar 2013 09:13:23 +0100


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

Re: PARI 2.6 syntax 2: [f(x)|x<-a,b(x)]


A naive question. What about [ 1, 2;
3,4] if it is sensible to space ?
Every such situation should be taken in account.
Why not quotes for reserved words as "in" ?

I care about backwards compatibility ... if not, many exercises
that are using Pari in WIMS would be potentially broken !

Bernadette
Joerg Arndt <arndt@jjj.de> a ÃcritÂ:

* Andreas Enge <andreas.enge@inria.fr> [Mar 09. 2013 09:12]:
On Fri, Mar 08, 2013 at 01:41:15PM +0100, Bill Allombert wrote:
> Space are ignored, so 'x in a' is read as 'xina'.

This might be a good occasion to declare spaces as significant in the
lexical analysis step...

If at all possible, let's *please* do this.

It would break backwards compatibility, but are
there really people who write
a

b   =
1 2
when they mean
ab=12
?

Possibly a subset of the folks that hammer nails
into their knees in their spare time.



Andreas