[<<][staapl][>>][..]
Tue Mar 15 13:41:15 EDT 2011

Extending `define-signature'

Apparently the identifier is not is a separate namespace, so beware
when including this in ordinary modules:

(define-signature-form (define-syntax-rule stx)
  (syntax-case stx ()
    ((_ (name . pat) expr)
     (list
      #'(define-syntaxes (name)
          (syntax-rules () ((_ . pat) expr)))))))


[1] http://pre.plt-scheme.org/docs/html/reference/define-sig-form.html



[Reply][About]
[<<][staapl][>>][..]