Download NST 3.0 User Manual
Transcript
Standard Lisp number character symbol real string rational integer float fixnum bignum ratio short-float3 single-float double-float3 long-float complex Considered scalar types cons list vector array hash-table Other types scalar t Table 1: NST provides methods of generic function arbitrary generating values of the types in this table. Value :standard :ascii :ascii-ext Meaning Codes up to 96 Codes through 127 Codes through 255 Omitted or with any other value, characters with any code up to char-code-limit can result. Examples: (nst:arbitrary ’character) (nst:arbitrary ’(character :noncontrol t :range :standard)) • Type symbol. – Argument existing. If non-nil, requires that the result be a previouslyinterned symbol. – Argument exported. Requires that the result be not only a previouslyinterned symbol, but also one exported by its package. Ignored if existing is explicitly set to nil. – Argument package. Specifies the package from which the symbol will be generated. If omitted, a package is selected at random from the existing ones. – Argument nonnull. If non-nil, allows arbitrary to ignore other restriction to guarantee returning a non-nil symbol. When null, arbitrary may return nil. – Argument gensym. If non-nil, and if arbitrary is explicitly set to nil, returns a new uninterned symbol. 19