WOW thanks heaps for your help (both of you )
Finally wrote my static heuristic evaluation function for C4
Some basic lisp functions -trying to teach myself the basics
-
- Posts: 4
- Joined: Fri Sep 06, 2013 4:54 am
Re: Some basic lisp functions -trying to teach myself the ba
head about set-differrence?
Code: Select all
CL-USER> (set-difference '(1 2 3 4 5) '(3 4))
(5 2 1)
Re: Some basic lisp functions -trying to teach myself the ba
It depends, whether the resulting set should be generated in a stable way.
OP didn't answer this.There is no guarantee that the order of elements in the result will reflect the ordering of the arguments in any particular way. The result list may share cells with, or be eq to, either of list-1 or list-2, if appropriate.
cl-2dsyntax is my attempt to create a Python-like reader. My mirror of CLHS (and the dark themed version). Temporary mirrors of aferomentioned: CLHS and a dark version.