Page 1 of 1

Manual erratum: example in `index`

Posted: Tue Sep 29, 2015 3:13 pm
by rickyboy
As reported by github user fuxoft in https://github.com/kosh04/newlisp/issues/3.
In the documentation of the "index" function, the last example line says:

(select '(1 10 3 6 4 5 11) '(1 3 6)) → (1 3 6)

This is wrong. The returned value is not (1 3 6) but (10 6 11).
The culprit can currently be spotted here:
http://www.newlisp.org/downloads/newlis ... html#index