Next Prev Up Top Contents Index

6.5.6 Sequence Presentation Types

The following two presentation types can be used to accept and present a sequence of objects.

sequence

Arguments: type

Summary: The presentation type that represents a sequence of elements of type type. type can be a presentation type abbreviation. The printed representation of a sequence type is the elements separated by commas. accept returns a list.

The options to this type are separator and echo-space . separator is used to specify a character that will act as the separator between elements of the sequence; the default is the comma character #\, . echo-space is t or nil ; when it is t (the default) a space will be automatically inserted into the input buffer when the user types a separator character.

sequence-enumerated 

Arguments: &rest types

Summary: sequence-enumerated is like sequence , except that the type of each element in the sequence is individually specified.The elements of types can be presentation type abbreviations. accept returns a list.

The options to this type are separator and echo-space , which are as for the sequence type.


Common Lisp Interface Manager 2.0 User Guide - 14 Dec 2001

Next Prev Up Top Contents Index