On May 7, 11:04 pm, Abdulaziz Ghuloum <[email protected]> wrote:
> In ikarus, this just modifies the lexical or read syntax. E.g.,
Thank you for clarify.
BTW, what a blockhead I am! I should be more careful. :(
(import (rnrs) (fetch))
(begin
(var-set! 100)
(display (list (var++) (var++) (var++)))
(newline))
REPL prints: (100 101 102)
-- fujita
On May 7, 11:04 pm, Abdulaziz Ghuloum <[email protected]> wrote:
> On May 7, 2009, at 4:58 PM, Yoshikatsu Fujita wrote:
>
> > On May 7, 10:00 pm, Abdulaziz Ghuloum <[email protected]> wrote:
> >> But yes, this is what I expect and get in ikarus too.
>
> > I apologize my mistake.
> > I misunderstand that #!r6rs comment switch Ikarus to r6rs-script mode.
>
> In ikarus, this just modifies the lexical or read syntax. E.g.,
>
> > #!r6rs
> '#1=(|foo bar baz| . #1#)
> Unhandled exception
> Condition components:
> 1. &lexical
> 2. &message: "graph syntax is invalid in #!r6rs mode"
> 3. &irritants: ("#1")
> 4. &source-position:
> file-name: *stdin*
> character: 10
>
> > #!ikarus
> '#1=(|foo bar baz| . #1#)
> #0=(foo\x20;bar\x20;baz . #0#)
> >
>
> Aziz,,,