Re: namespace of goops module

2006-02-15 Thread Kevin Ryde
Neil Jerram <[EMAIL PROTECTED]> writes: > > (define-macro (whatever ...) > `(,what* ...)) That'd be the idea, works nicely with procedures, but I had trouble unquoting macros/syntax bits. In the new guile 1.8 `while' in boot-9.scm unquoting the `do' made (ice-9 syncase) very upset. __

Re: namespace of goops module

2006-02-15 Thread William Xu
Andy Wingo <[EMAIL PROTECTED]> writes: > Nope. Syntaxen are hard to document. There's some stuff in guile-lib for > pulling docstrings out of defmacros (the ones made by define-macro), > though. I prefer defmacros to syncase, fwiw. While defmacros would cause the renamer problem, as described in

Re: namespace of goops module

2006-02-15 Thread Andy Wingo
Hi, On Wed, 2006-02-15 at 10:02 +0800, William Xu wrote: > ps. Supposed i defined a syntax `when', if i want to check out what > `when' is, either a function, macro, or syntax, like, > > guile> when > ERROR: invalid syntax when > ABORT: (misc-error) syntax-rules macros are not first-class objec