Miscellaneous

Procedure: scheme-implementation-version

Returns the Kawa version number as a string.

Variable: home-directory

A string containing the home directory of the user.

Procedure: scheme-window [shared]

Create a read-eval-print-loop in a new top-level window. If shared is true, it uses the same environment as the current (interaction-environment); if not (the default), a new top-level environment is created.

You can create multiple top-level window that can co-exist. They run in separate threads.

Syntax: when condition form...

If condition is true, evaluate each form in order, returning the value of the last one.

Syntax: unless condition form...

If condition is false, evaluate each form in order, returning the value of the last one.

Procedure: vector-append arg...

Creates a new vector, containing the elements from all the args appended together. Each arg may be a vector or a list.

Syntax: synchronized object form ...

Synchronize on the given object. (This means getting an exclusive lock on the object, by acquiring its monitor.) Then execute the forms while holding the lock. When the forms finish (normally or abnormally by throwing an exception), the lock is released. Returns the result of the last form. Equivalent to the Java synchronized statement, except that it may return a result.