7.3 Generic Interface
value
A generic interface (see
Generic Interfaces) that defines a statement. To
supply method implementations, a struct should use the #:methods form.
value
TBD
value
TBD
predicate
(statement? val) → boolean?
val : any/c
TBD
The generic interface gen:statement has the following methods:
method
(get-subject stmt) → subject?
stmt : statement? Return the subject component of the statement structure.
method
(get-predicate stmt) → predicate?
stmt : statement? Return the predicate component of the statement structure.
method
(get-object stmt) → object?
stmt : statement? Return the object component of the statement structure.
predicate
(statement<? v1 v2) → boolean?
v1 : statement? v2 : statement?