Re: Docs of my()
Bill Allombert <[email protected]> Wed, 10 Jul 2024 18:33:06 +0200
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <Zo63wp-BIWIkyzIZ@seventeen> |
On Tue, Jul 09, 2024 at 02:50:25PM -0700, Ilya Zakharevich wrote: > Is there any documentation of how my(…) is actually parsed? I can see > that > my([x,y,z]=[3,4,5]); > and > my(f(x)=x+1); f(x)= is an alias for f=x-> so it is parsed as my(f=x->x+1) > are actually “fulfilling the ‘best expectations’” — but not > my(x=y=List()); is parsed as my(x=(y=List())) so y is not declared as a local variable. Cheers, Bill