[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: correctable errors

From: Camm Maguire
Subject: [Gcl-devel] Re: correctable errors
Date: 09 Nov 2006 11:47:11 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and thanks!

What about standard functions which must take certain kinds of
arguments?  Must they be handled with check-type?  e.g.

(defun car (x) (check-type x list) (if x (real-car x) x))


(defun car (x) (cond ((consp x) (real-car x)) ((not x) x) ((error
'type-error :datum x :expected-type 'list))))

Take care,
Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]