Hi Alex,

> Is this intended? Or is the third line missing? ;)
>

​Indeed; corrected :)​

In "4.3.1. Iterate over a list" you could put in addition to the 'for' loop:
>
>    (mapc println mylist)  # Probably better Mylist
>

​Done and done.​


> Note that instead of
>
>    : (for I (length lst)
>       (println I (get lst I)) )
>
> it  is easier with
>
>    : (for (I . X) Lst
>       (println I X) )
>
> Also note the upper case variables!
>

​Done and done.​


> In the part
>
>    # Destructively 'pop' elements off a list
>    : (setq
>       Friends '(Peter Paul Mary Jim Tim)
>       This (pop 'Friends)
>       That (pop 'Friends) )
>
> the word "Destructively" is not correct. 'pop' is not destructice, it does
> not
> modify the list (only the variable pointing to it).
>

​Right. Corrected.
​

> Later we have
>
>    # then sets this special variable 'This' to the result of the
>    # 'find' function.
>
> I think you meant "parameter" instead of "result".
>

​No, on purpose.
I refer to the 'with'docs:
   Saves the current object This and sets it to the new value sym, which is
the outcome of find (the result).

Thx. for the comments!
   Arie

Reply via email to