1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

doc: Remove reference to `closure?', now deprecated.

Fixed <http://bugs.gnu.org/11611>.

* doc/ref/api-procedures.texi (Procedure Properties): Remove reference
  to `closure?'.  Suggested by David Jaquay <djaquay@gmail.com>.
This commit is contained in:
Ludovic Courtès 2012-07-01 17:32:03 +02:00
parent 2874f66017
commit bd5dea489b
2 changed files with 5 additions and 5 deletions

1
THANKS
View file

@ -88,6 +88,7 @@ For fixes or providing information which led to a fix:
Peter Ivanyi Peter Ivanyi
Wolfgang Jaehrling Wolfgang Jaehrling
Aubrey Jaffer Aubrey Jaffer
David Jaquay
Paul Jarc Paul Jarc
Steve Juranich Steve Juranich
Richard Kim Richard Kim

View file

@ -643,10 +643,8 @@ properties interface.
The first group of procedures in this meta-interface are predicates to The first group of procedures in this meta-interface are predicates to
test whether a Scheme object is a procedure, or a special procedure, test whether a Scheme object is a procedure, or a special procedure,
respectively. @code{procedure?} is the most general predicates, it respectively. @code{procedure?} is the most general predicates, it
returns @code{#t} for any kind of procedure. @code{closure?} does not returns @code{#t} for any kind of procedure.
return @code{#t} for primitive procedures, and @code{thunk?} only
returns @code{#t} for procedures which do not accept any arguments.
@rnindex procedure? @rnindex procedure?
@deffn {Scheme Procedure} procedure? obj @deffn {Scheme Procedure} procedure? obj
@ -656,7 +654,8 @@ Return @code{#t} if @var{obj} is a procedure.
@deffn {Scheme Procedure} thunk? obj @deffn {Scheme Procedure} thunk? obj
@deffnx {C Function} scm_thunk_p (obj) @deffnx {C Function} scm_thunk_p (obj)
Return @code{#t} if @var{obj} is a thunk. Return @code{#t} if @var{obj} is a thunk---a procedure that does
not accept arguments.
@end deffn @end deffn
@cindex procedure properties @cindex procedure properties