The same thing as guile 1.6's (ice-9 session)
, except with hooks that
introduce extensibility to the help
macro. The added functions are
add-value-help-handler!
and remove-value-help-handler!
.
Adds a handler for performing `help' on a name.
`proc' will be called with the unevaluated name as its argument. That is to say, when the user calls `(help FOO)', the name is FOO, exactly as the user types it.
The return value of `proc' is as specified in `add-value-help-handler!'.
Adds a handler for performing `help' on a value.
`proc' will be called as (PROC NAME VALUE). `proc' should return #t to indicate that it has performed help, a string to override the default object documentation, or #f to try the other handlers, potentially falling back on the normal behavior for `help'.
Search for bindings: apropos regexp {options= 'full 'shadow 'value}
Folds PROCEDURE over bindings matching third arg REGEXP. Result is (PROCEDURE MODULE1 NAME1 VALUE1 (PROCEDURE MODULE2 NAME2 VALUE2 ... (PROCEDURE MODULEn NAMEn VALUEn INIT))) where INIT is the second arg to `apropos-fold'. Fourth arg FOLDER is one of (apropos-fold-accessible MODULE) ;fold over bindings accessible in MODULE apropos-fold-exported ;fold over all exported bindings apropos-fold-all ;fold over all bindings
Removes a handler for performing `help' on a name.
See the documentation for `add-name-help-handler' for more information.