EMA-XPS Online



In spite of mere values, babylon3 stores sets of values
within the slots of its instances. Hence it may become
necessary to manipulate only parts of them. Therefore
set operations are provided. In babylon3 a set is an own
data type. Its elements may be constrained to a choosen

A set may be entered similarly to a list. Just use braces
in spite of brackets. The printed representation of
{1 2 3} would be #<set-of TYPE (1 2 3)>.

EMA-XPS emulates those sets as vectors, which is a stan-
dard CommonLISP data type. Vectors are not defined in
BabylonLISP, which proves this solution acceptable.

WARNING: Hence be careful if you are planning to use vec-
tors in combination with babylon3 KBs under EMA-XPS!

EMA-XPS reads a set {1 2 3} correctly. Type constraints
are NOT emulated well. Please avoid using this means!
The printed representation is that of a vector: #(1 2 3).

EMA-XPS Online