Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
237dd720
Commit
237dd720
authored
35 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Fixed up DESCRIBE-FUNCTION-PARTS a bit. It still doesn't return any
interesting parts, but at least it doesn't do anything wrong.
parent
e2c4e627
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/tty-inspect.lisp
+15
-10
15 additions, 10 deletions
code/tty-inspect.lisp
with
15 additions
and
10 deletions
code/tty-inspect.lisp
+
15
−
10
View file @
237dd720
...
...
@@ -152,16 +152,21 @@
parts-list
))))
(
defun
describe-function-parts
(
object
)
(
list
(
format
nil
"Function ~s.~%Argument List: ~a."
object
(
system:%primitive
header-ref
object
lisp::%function-arg-names-slot
)
#|###
(system:%primitive header-ref object
lisp::%function-defined-from-slot)
~%Defined from: ~a
|#
)
t
))
(
let
((
object
(
if
(
=
(
system:%primitive
get-vector-subtype
object
)
system:%function-closure-subtype
)
(
system:%primitive
header-ref
object
system:%function-name-slot
)
object
)))
(
list
(
format
nil
"Function ~s.~%Argument List: ~a."
object
(
system:%primitive
header-ref
object
lisp::%function-entry-arglist-slot
)
#|###
(system:%primitive header-ref object
lisp::%function-defined-from-slot)
~%Defined from: ~a
|#
)
t
)))
(
defun
describe-vector-parts
(
object
)
(
list*
(
format
nil
"Object is a ~:[~;displaced ~]vector of length ~d.~%"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment