Ergebnis für URL: http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html #[1]Top [2]Concept Index [3]Table of Contents [4]Procedures [5]Procedures with
Setters [6]Higher-Order Functions
Next: [7]Procedures with Setters, Previous: [8]Higher-Order Functions, Up:
[9]Procedures [[10]Contents][[11]Index]
____________________________________________________________________________
6.7.7 Procedure Properties and Meta-information
In addition to the information that is strictly necessary to run, procedures may
have other associated information. For example, the name of a procedure is
information not for the procedure, but about the procedure. This meta-information
can be accessed via the procedure properties interface.
The first group of procedures in this meta-interface are predicates to test
whether a Scheme object is a procedure, or a special procedure, respectively.
procedure? is the most general predicates, it returns #t for any kind of
procedure.
Scheme Procedure: procedure? obj[12] ¶
C Function: scm_procedure_p (obj)[13] ¶
Return #t if obj is a procedure.
Scheme Procedure: thunk? obj[14] ¶
C Function: scm_thunk_p (obj)[15] ¶
Return #t if obj is a procedure that can be called with zero arguments.
Procedure properties are general properties associated with procedures. These can
be the name of a procedure or other relevant information, such as debug hints.
Scheme Procedure: procedure-name proc[16] ¶
C Function: scm_procedure_name (proc)[17] ¶
Return the name of the procedure proc
Scheme Procedure: procedure-source proc[18] ¶
C Function: scm_procedure_source (proc)[19] ¶
Return the source of the procedure proc. Returns #f if the source code is
not available.
Scheme Procedure: procedure-properties proc[20] ¶
C Function: scm_procedure_properties (proc)[21] ¶
Return the properties associated with proc, as an association list.
Scheme Procedure: procedure-property proc key[22] ¶
C Function: scm_procedure_property (proc, key)[23] ¶
Return the property of proc with name key.
Scheme Procedure: set-procedure-properties! proc alist[24] ¶
C Function: scm_set_procedure_properties_x (proc, alist)[25] ¶
Set proc's property list to alist.
Scheme Procedure: set-procedure-property! proc key value[26] ¶
C Function: scm_set_procedure_property_x (proc, key, value)[27] ¶
In proc's property list, set the property named key to value.
Documentation for a procedure can be accessed with the procedure
procedure-documentation.
Scheme Procedure: procedure-documentation proc[28] ¶
C Function: scm_procedure_documentation (proc)[29] ¶
Return the documentation string associated with proc. By convention, if a
procedure contains more than one expression and the first expression is a
string constant, that string is assumed to contain documentation for that
procedure.
____________________________________________________________________________
Next: [30]Procedures with Setters, Previous: [31]Higher-Order Functions, Up:
[32]Procedures [[33]Contents][[34]Index]
References
1. http://www.gnu.org/software/guile/manual/html_node/index.html
2. http://www.gnu.org/software/guile/manual/html_node/Concept-Index.html
3. http://www.gnu.org/software/guile/manual/html_node/index.html#SEC_Contents
4. http://www.gnu.org/software/guile/manual/html_node/Procedures.html
5. http://www.gnu.org/software/guile/manual/html_node/Procedures-with-Setters.html
6. http://www.gnu.org/software/guile/manual/html_node/Higher_002dOrder-Functions.html
7. http://www.gnu.org/software/guile/manual/html_node/Procedures-with-Setters.html
8. http://www.gnu.org/software/guile/manual/html_node/Higher_002dOrder-Functions.html
9. http://www.gnu.org/software/guile/manual/html_node/Procedures.html
10. http://www.gnu.org/software/guile/manual/html_node/index.html#SEC_Contents
11. http://www.gnu.org/software/guile/manual/html_node/Concept-Index.html
12. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-procedure_003f
13. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fprocedure_005fp
14. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-thunk_003f
15. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fthunk_005fp
16. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-procedure_002dname
17. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fprocedure_005fname
18. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-procedure_002dsource
19. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fprocedure_005fsource
20. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-procedure_002dproperties
21. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fprocedure_005fproperties
22. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-procedure_002dproperty
23. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fprocedure_005fproperty
24. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-set_002dprocedure_002dproperties_0021
25. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fset_005fprocedure_005fproperties_005fx
26. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-set_002dprocedure_002dproperty_0021
27. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fset_005fprocedure_005fproperty_005fx
28. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-procedure_002ddocumentation
29. http://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html#index-scm_005fprocedure_005fdocumentation
30. http://www.gnu.org/software/guile/manual/html_node/Procedures-with-Setters.html
31. http://www.gnu.org/software/guile/manual/html_node/Higher_002dOrder-Functions.html
32. http://www.gnu.org/software/guile/manual/html_node/Procedures.html
33. http://www.gnu.org/software/guile/manual/html_node/index.html#SEC_Contents
34. http://www.gnu.org/software/guile/manual/html_node/Concept-Index.html
Usage: http://www.kk-software.de/kklynxview/get/URL
e.g. http://www.kk-software.de/kklynxview/get/http://www.kk-software.de
Errormessages are in German, sorry ;-)