Buy GNU books!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Every function visible at the Scheme level should aggressively check the types of its arguments, to avoid misinterpreting a value, and perhaps causing a segmentation fault. Guile provides some macros to make this easier.
SCM_ARGNinstead of the corresponding raw number, since it will make the code easier to understand.
SCM_ARGnfor position allows to leave it unspecified which argument's type is incorrect. Again,
SCM_ARGnshould be preferred over a raw zero constant.
|webmaster donations bookstore||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|