unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* scm_defined_p(sym, env)
@ 2011-08-23 11:36 Richard Shann
  2011-08-23 11:54 ` rm
  2011-08-29 11:30 ` rixed
  0 siblings, 2 replies; 6+ messages in thread
From: Richard Shann @ 2011-08-23 11:36 UTC (permalink / raw)
  To: guile-user

I have defined a function with one needed and one optional arg, using

scm_c_define_gsubr (name, 2, 0, 0, callback);

in my function I need to test if the second argument is present, it
looks like I need

scm_defined_p(sym, env)

but, if so, how do I find the value of env for the top-level
environment?

Richard Shann





^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.191.1314201660.28460.guile-user@gnu.org>]

end of thread, other threads:[~2011-08-29 11:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23 11:36 scm_defined_p(sym, env) Richard Shann
2011-08-23 11:54 ` rm
2011-08-23 13:26   ` Richard Shann
2011-08-23 19:07     ` Andreas Rottmann
2011-08-29 11:30 ` rixed
     [not found] <mailman.191.1314201660.28460.guile-user@gnu.org>
2011-08-24 20:25 ` Richard Shann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).