On this page:
gen:  statement
statement/  c
statement-constructor/  c
statement?
get-subject
get-predicate
get-object

6.3 Generic Interface🔗ℹ

A generic interface (see Generic Interfaces) that defines a statement. To supply method implementations, a struct should use the #:methods form.

TBD

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.