guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: continuation?


From: Bill Schottstaedt
Subject: Re: continuation?
Date: Tue, 29 Jul 2003 04:36:01 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

I think you asked for a patch for continuation? a while ago;
here's a suggestion.

In continuations.c:

SCM_DEFINE (scm_continuation_p, "continuation?", 1, 0, 0,
       (SCM obj),
       "Return @code{#t} if @var{obj} is a continuation.")
#define FUNC_NAME s_scm_continuation_p
{
 return SCM_BOOL ((SCM_NIMP (obj)) && (SCM_CONTINUATIONP (obj)));
}
#undef FUNC_NAME


In continuations.h:

SCM_API SCM scm_continuation_p (SCM obj);






reply via email to

[Prev in Thread] Current Thread [Next in Thread]