Manual erratum: example in `index`

Notices and updates

Manual erratum: example in `index`

Postby rickyboy » Tue Sep 29, 2015 3:13 pm

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/newlisp_manual.html#index
(λx. x x) (λx. x x)
rickyboy
 
Posts: 554
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Return to newLISP newS

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests

cron