"Derick Eddington" wrote:
> So, if you want to support being able to make macros built
> on top of algm, you'll need:
>
>  (define-syntax algm/lexical-context
>    (lambda (stx)
>      (syntax-case stx ()
>        ((_ ctxt expr)
>         (datum->syntax (syntax ctxt)
>          (alg (syntax->datum (syntax expr))))))))
>
>  (define-syntax algm
>    (lambda (stx)
>      (syntax-case stx ()
>        ((kw expr)
>         (syntax (algm/lexical-context kw expr))))))

I appreciated this, too.
-- 
Marco Maggi

Reply via email to