2015-05-18 21:25 GMT+02:00 Michael Tiedtke <michael.tied...@o2online.de>:

> Il giorno 18/mag/2015, alle ore 20.50, Jos Koot ha scritto:
>
> > I think Rackets's reference and guide are *very clear* about eq?, eqv?
> and
> > equal?.
>
> Yes, right. It was the Racket Reference to tell me exactly that eqv? is an
> eq? that
> works for numbers and characters, too. I really had to look this up and
> found an
> simple and concise description.
>
> But the entries for for-each and map do not state anything about the
> execution order
> of the list processing.


Here is what the documentation say:

  Racket docs: Applies proc to the elements of the lsts from the first
elements to the last.
  R5RS: The dynamic order in which proc is applied to the elements of the
lists is unspecified.

I interpret the Racket docs to mean that the procedure are applied to the
elements in the list in the order they appear in the list.

In contrast R5RS (on purpose) state that the order is unspecified, which
means that an implementor of R5RS Scheme is free to choose the order which
fits his system best. Potentially the freedom to choose the order could
enable some optimizations.

-- 
Jens Axel Søgaard

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to