Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
new-op
new-op
Commits
cd856522
Commit
cd856522
authored
Dec 27, 2013
by
Marco Antoniotti
💬
Browse files
Minor changes in doc strings.
parent
76ee14f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
new-op.lisp
View file @
cd856522
...
...
@@ -76,16 +76,16 @@ Each method dispatches on the TYPE-NAME, which is a symbol. SPEC is
the CDR of the full type specifier and ARGUMENTS is the list of
arguments passed to NEW.
TYPE-CONS is meant to be spcialized but not called directly.
TYPE-CONS is meant to be sp
e
cialized but not called directly.
Example
.
Example
s:
Suppose you have
;;;
Suppose you have
(deftype matrix (n m &optional (base-type 'double-float))
`(array ,base-type (,n ,m)))
You may want to define something along these lines.
;;;
You may want to define something along these lines.
(defmethod type-cons ((what (eql 'matrix)) spec arguments)
(destructuring-bind (n m &optional (base-type 'double-float))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment