[Ecls-list] Note checking types of arguments?

Pascal J. Bourguignon pjb at informatimago.com
Sun Aug 29 18:55:54 UTC 2010


When compiling this function:

(DEFUN MAKE-KEYWORD (SYM)
  "
RETURN: A new keyword with SYM as name.
"
  (INTERN (STRING SYM) (FIND-PACKAGE "KEYWORD")))

I get:

;;; Compiling (DEFUN MAKE-KEYWORD ...).
;;; Note:
;;;   in file utility.lisp, position 28160
;;;   at (DEFUN MAKE-KEYWORD ...)
;;;   In function MAKE-KEYWORD, checking types of arguments SYM.

What does this note mean? 



I hope that in addition to checking the types of the arguments, it
also generates the code to do the required computations... ;-)

If so, what's so special about argument type checking that is note
worthy?


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/





More information about the ecl-devel mailing list