Legacy
------
These procedures are provided by all implementations.
- Function: identity x
IDENTITY returns its argument.
Example:
(identity 3)
=> 3
(identity '(foo bar))
=> (foo bar)
(map identity LST)
== (copy-list LST)
The following procedures were present in Scheme until R4RS (Note:Language changes.). They are provided by all SLIB
implementations.
- Constant: t
Derfined as `#t'.
- Constant: nil
Defined as `#f'.
- Function: last-pair l
Returns the last pair in the list L. Example:
(last-pair (cons 1 2))
=> (1 . 2)
(last-pair '(1 2))
=> (2)
== (cons 2 '())