[plt-scheme] Strange

From: Jos Koot (jos.koot at telefonica.net)
Date: Sat Sep 20 06:13:54 EDT 2008

In PLT Scheme (e.q. #lang scheme),  (1 . + . 3) is read as (+ 1 3) allowing 
a kind of infix notation.
That this notation is also accepted in #!r6rs probably stems from the 
underlying Scheme.
Jos

----- Original Message ----- 
From: <hufflen at lifc.univ-fcomte.fr>
To: <plt-scheme at list.cs.brown.edu>
Sent: Saturday, September 20, 2008 1:09 AM
Subject: [plt-scheme] Strange


>   Hello, PLT Schemers,
>
>   I noticed soemthing strange in PLT 4.0.2 and 4.1 when using the #!r6rs
> mode:
>
> (write #\x) displays #\alarm
>
>   Is there an explanation of that, please?
>
>   On another point, there is a strange bug.  If you write something like:
>
> (write '(1 . 2 . 3))
>
> that causes an error, of course.  But after the evaluation of an #!r6rs
> program, if I type:
>
> '(1 . 2 . 3)
> in the interactions' window, the result is (2 1 3).
>
>   ???
>
>   Cheers,
>
> J.-M. H.
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 



Posted on the users mailing list.