Page 1 of 1

intersect example in "Introduction to newLISP"

Posted: Tue Mar 17, 2009 11:34 am
by fred
@Cormullion:
From then "Introduction to newLISP" i think the difference function should be intersect in this example?

The intersect function finds the elements that are in both lists.

(difference d2 d1)
;-> ("." ".." ".DS_Store" "Language Modules" "Menu Scripts" "Plug-Ins" "Read Me.txt" "Scripts" "Unix Support")

Posted: Tue Mar 17, 2009 6:55 pm
by cormullion
You're quite right! Thanks for catching this one... It'll be fixed - one day. :)