guile-user
[Top][All Lists]
Advanced

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

scm_defined_p(sym, env)


From: Richard Shann
Subject: scm_defined_p(sym, env)
Date: Tue, 23 Aug 2011 12:36:44 +0100

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





reply via email to

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