Binding Reflection (Guile Reference Manual)

Next: , Previous: , Up: Definitions and Variable Bindings [Contents][Index]


6.10.4 Querying variable bindings

Guile provides a procedure for checking whether a symbol is bound in the top level environment.

Scheme Procedure: defined? sym [module]
C Function: scm_defined_p (sym, module)

Return #t if sym is defined in the module module or the current module when module is not specified; otherwise return #f.

AltStyle によって変換されたページ (->オリジナル) /