Групи новин: comp.lang.lisp
Від: Joe Marshall <j...@ccs.neu.edu>
Дата: 27 Jun 2003 09:18:37 -0400
Місцевий час: Пт 27 Чер 2003 16:18
Тема: Re: Newby(ish)
Gregory Rickeard <s9905...@sms.ed.ac.uk> writes: Instead of RPLACA and RPLACD, you should use SETF > (defun crossover (tree &optional (subst nil) (prob-no-recursion .75)) > "args: tree &optional (subst nil) (prob-no-recursion .75) > finds a random subtree (not including the entire tree) of tree and returns (setf (car args) subst) instead of (rplaca args subst) and (setf (cadr args) subst) instead of (rplacd args (list subst)) You should consider representing the nodes in your tree as defstructs. Ви мусите увійти перед публікацією повідомлень.
Аби надіслати допис, будь ласка, спочатку приєднайтеся до цієї групи.
Будь ласка, поновіть своє прізвисько на сторінці налаштування передплати перед тим, як надіслати свій допис.
У вас немає права надсилання дописів до цієї групи.
| ||||||||||||||