diff --git a/NEWS b/NEWS index 08eec5657..edce34973 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,21 @@ Changes since Guile 1.3.2: * Changes to Scheme functions and syntax +** Hooks + +*** New function: hook? OBJ + +Return #t if OBJ is a hook, otherwise #f. + +*** New function: hook-empty? HOOK + +Return #t if HOOK doesn't contain any procedures, otherwise #f. + +*** New function: hook->list HOOK + +Return a list of the procedures that are called when run-hook is +applied to HOOK. + ** `map' signals an error if its argument lists are not all the same length. This is the behavior required by R5RS, so this change is really a bug diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 5e7ed4f02..5f05a91b0 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,9 @@ +1999-09-09 Mikael Djurfeldt + + * feature.c, feature.h: (scm_hook_p, scm_hook_empty_p): New + primitives. (Thanks to Greg Badros); + (scm_hook_to_list): New primitive; Hooks are now smobs. + 1999-09-08 Gary Houston * stime.c (bdtime2c): rewrite the ASSERTs. Accept a value