mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 16:20:17 +02:00
remove program-name, program-documentation
* libguile/programs.h: * libguile/programs.c (scm_program_name): Remove. procedure-name is sufficient. * module/system/vm/program.scm (program-name): Remove from exports list. (program-documentation): Remove; procedure-documentation is sufficient. * libguile/debug.c (scm_procedure_name): Remove special case for programs. * module/language/tree-il/analyze.scm (validate-arity): Use procedure-name. * module/ice-9/documentation.scm (object-documentation): Just use procedure-documentation, without special cases for programs.
This commit is contained in:
parent
07e424b753
commit
1e23b461ec
6 changed files with 5 additions and 33 deletions
|
@ -996,7 +996,7 @@ accurate information is missing from a given `tree-il' element."
|
|||
(length x))
|
||||
0))
|
||||
(cond ((program? proc)
|
||||
(values (program-name proc)
|
||||
(values (procedure-name proc)
|
||||
(map (lambda (a)
|
||||
(list (arity:nreq a) (arity:nopt a) (arity:rest? a)
|
||||
(map car (arity:kw a))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue