We use some conventions in this manual.
#t
” or “non-#f
”. This typically means that
val is returned if condition holds, and that ‘#f’ is
returned otherwise. To clarify: val will only be
returned when condition is true.
The symbol ‘⇒’ is used to tell which value is returned by an evaluation:
(+ 1 2) ⇒ 3
Some procedures produce some output besides returning a value. This is denoted by the symbol ‘-|’.
(begin (display 1) (newline) 'hooray) -| 1 ⇒ hooray
As you can see, this code prints ‘1’ (denoted by
‘-|’), and returns hooray
(denoted by
‘⇒’). Do not confuse the two.