Re: Labirint in LISP please help me



On 13 avr, 10:50, Frank Buss <f...@xxxxxxxxxxxxx> wrote:
Aliska wrote:
Can I write in one function?

Yes, the non-working version from Jason, and maybe a better solution with
backtracking, both could be written in one function, but usually it is
better for larger programs to structure it in more than one function.

--
Frank Buss, f...@xxxxxxxxxxxxxxxxx://www.frank-buss.de,http://www.it4-systems.de

I find this exemple:

defun search_room (point labirint)
(cond ((null labirint) nil)
((eql (caar labirint) point) (second (car labirint)))
(t (search_room point (cdr labirint)))))


can it exemple change for my probleme?
.