newLISP Fan Club

Forum => newLISP newS => Topic started by: rickyboy on September 29, 2015, 08:13:36 AM

Title: Manual erratum: example in `index`
Post by: rickyboy on September 29, 2015, 08:13:36 AM
As reported by github user fuxoft (//https) in //https://github.com/kosh04/newlisp/issues/3.


QuoteIn 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