Data Types

CLtL2 Reference

SubL has a flat type heirarchy. Each type is described in more detail in the sections about the methods for that particular type.

SubL supports these built-in Common Lisp datatypes:

Numbers: fixnum
Symbols: symbol
Lists: cons
Arrays: vector
Characters: character
Strings: string
Hashtables: eq hashtable
  eql hashtable
  equal hashtable
  equalp hashtable
Streams: stream
Functions: function

SubL does not support these Common Lisp datatypes:

Multi-dimensional arrays
Lambda-Expressions or Closures

SubL has only special-case support for these datatypes:


Readtables: SubL only supports a single internal readtable

New data types can be introduced via DEFSTRUCT.