www.delorie.com/gnu/docs/guile/guile_289.html   search  
Buy GNU books!

Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

25.4 Querying variable bindings

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

Scheme Procedure: defined? sym [env]
C Function: scm_definedp (sym, env)
Return #t if sym is defined in the lexical environment env. When env is not specified, look in the top-level environment as defined by the current module.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003