Next: Comments, Previous: Uppercase and Lowercase, Up: Lexical Conventions [Contents][Index]
A predicate is a procedure that always returns a boolean value
(#t
or #f
). By convention, predicates usually have names
that end in ‘?’.
A mutation procedure is a procedure that alters a data structure. By convention, mutation procedures usually have names that end in ‘!’.