Skip to content

2.1 Special Objects

2.1.1 absent-obj

(def absent-obj)

Special object used by Gambit primitives to signal absent optional values.

2.1.2 absent-value

(def absent-value)

Special object used to denote missing hash values.

2.1.3 true

(true . args) -> #t

Returns #t, ignoring its arguments.

2.1.4 true?

(true? obj) -> boolean

  obj := any object

Returns true if the object is #t.

2.1.5 false

(false . args) -> #f

Returns #f, ignoring its arguments.

2.1.6 void

(void . args) -> #!void

Returns #!void, ignoring its arguments

2.1.7 void?

(void? obj) -> boolean

Returns true if the object obj is #!void.

2.1.8 eof-object

(eof-object . args)

Returns the eof object, ignoring its arguments.

2.1.9 identity

(identity x) -> x

  x := any value

The identity function, eg. returns anything passed to it.

2.1.10 dssl-object?

(dssl-object? obj) -> boolean

  obj := any object

Returns true if the object is a DSSL syntactic token.

2.1.11 dssl-key-object?

(dssl-key-object? obj) -> boolean

  obj := any object

Returns true if the object is #!key.

2.1.12 dssl-rest-object?

(dssl-rest-object? obj) -> boolean

  obj := any object

Returns true if the object is #!rest.

2.1.13 dssl-optional-object?

(dssl-optional-object? obj) -> boolean

  obj := any object

Returns true if the object is #!optional.

2.1.14 immediate?

(immediate? obj) -> boolean

  obj := any object

Returns true if the object obj is an immediate value.