nalaginrut <nalagin...@gmail.com> writes: > hi all, I got a problem with @. > It's OK when I export procedure with @: > ============== > (define aaa (@ (rnrs) make-bytevector)) > ============== > > but it'd failed if exported a macro. > ============================ > scheme@(guile-user)> (define aaa (@ (rnrs) unless)) > While compiling expression: > ERROR: Syntax error: > unknown location: source expression failed to match any pattern in form > unless > ============================ > > is it a bug?
I don't think so. The second form would be equivalent to (define aaa unless) if unless was imported by the module, and this is also an error because unless is not an identifier syntax. If I were you I'd (use-modules (rnrs control)) or (import (rnrs control)) instead. -- Ian Price "There are only two hard problems in Computer Science: cache invalidation and naming things." - Phil Karlton