Re: [racket] Determining if already defined?

2014-11-14 Thread Carl Eastlund
If you install the package "mischief", you can use define-if-unbound and similar forms. http://pkg-build.racket-lang.org/doc/mischief@mischief/Definitions_and_Binding_Forms.html Carl Eastlund On Fri, Nov 14, 2014 at 5:27 PM, Kevin Forchione wrote: > Hi guys, > Is there a way to determine, from

Re: [racket] Determining if already defined?

2014-11-14 Thread Jack Firth
identifier-binding returns #f for a binding that is either unbound or a top-level definition On Fri, Nov 14, 2014 at 2:27 PM, Kevin Forchione wrote: > Hi guys, > Is there a way to d

[racket] Determining if already defined?

2014-11-14 Thread Kevin Forchione
Hi guys, Is there a way to determine, from within a macro, if something is already defined and, so that the macro can define it if not and skip the definition if not? -Kevin Racket Users list: http://lists.racket-lang.org/users