Hi, It's ugly, but a quick solution:
On Wed 01 Sep 2010 00:12, Cedric Cellier <[email protected]> writes: > I'm doing this : > > (if (not defined? 'foo) (define foo bar)) > > without realizing it's not legal scheme. > What would be the idiomatic way to write this ? (define foo (if (defined? 'foo) foo bar)) Andy -- http://wingolog.org/
