[plt-scheme] '(1 . 2 . 3)

From: Sylvain Beucler (beuc at beuc.net)
Date: Sat Mar 6 05:51:56 EST 2004

OK.

I just had troubles figuring out that it also worked for lists:
> (1 . + . 2)
3
> '(1 . + . 2)
(+ 1 2)
> '(1 . 2 . 3)
(2 1 3)

Thanks,

-- 
Sylvain


On 2004.03.06 11:30, Grzegorz Chrupała wrote:
> On Sat 06 Mar 2004 09:17, Sylvain Beucler wrote:
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> > Hello,
> >
> > In mzscheme, when you type:
> > > '(1 . 2 . 3)
> >
> > you get:
> > (2 1 3)
> >
> > I could not find the logic behind this behavior.
> `Infix notation'. See the thread on comp.lang.scheme:
> http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&threadm=c1o2th%249k5%241%40oravannahka.helsinki.fi&prev=/groups%3Fdq%3D%26num%3D25%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26group%3Dcomp.lang.scheme%26safe%3Doff%26start%3D25
> Cheers,


Posted on the users mailing list.