How do you determine whether a given integer is strictly negative?
Call the negative? procedure:
The arity of the> (negative? -4) #t > (negative? 11) #f > (negative? 0) #f
negative? procedure is 1, and the operand
must be an integer, a rational, or a real number.
Next topic
Previous topic
Table of contents
This document is available on the World Wide Web as
http://www.math.grin.edu/~stone/scheme-web/negative-ques.html