New type specifiers can come into existence in two ways.
First, defining a new structure type with defstruct automatically
causes the name of the structure to be a new type specifier symbol.
Second, the [...]special form can be used to define new type-specifier
abbreviations.
Answer
deftype
Tags
#common-lisp
Question
New type specifiers can come into existence in two ways.
First, defining a new structure type with defstruct automatically
causes the name of the structure to be a new type specifier symbol.
Second, the [...]special form can be used to define new type-specifier
abbreviations.
Answer
?
Tags
#common-lisp
Question
New type specifiers can come into existence in two ways.
First, defining a new structure type with defstruct automatically
causes the name of the structure to be a new type specifier symbol.
Second, the [...]special form can be used to define new type-specifier
abbreviations.
Answer
deftype
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it New type specifiers can come into existence in two ways.
First, defining a new structure type with defstruct automatically
causes the name of the structure to be a new type specifier symbol.
Second, the deftype special form can be used to define new type-specifier
abbreviations.
Original toplevel document
4.7. Defining New Type Specifiers head><head>4.7. Defining New Type Specifiers
Common Lisp the Language, 2nd Edition
Next: Type Conversion Function
Up: Type Specifiers
Previous: Type Specifiers That
4.7. Defining New Type Specifiers
New type specifiers can come into existence in two ways.
First, defining a new structure type with defstruct automatically
causes the name of the structure to be a new type specifier symbol.
Second, the deftype special form can be used to define new type-specifier
abbreviations.
[Macro]
deftype name lambda-list [[ {declaration}* | doc-string ]] {form}*
This is very similar to a defmacro form: name is the
symbol that identifies the type specifier be
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.