[<<][staapl][>>][..]
Sun May 3 12:58:15 CEST 2009

require + recursive expand

This works now.  Care needs to be taken to preserve the proper context
for 'require forms though:

(define-syntax (require-file-id stx)
  (syntax-case stx ()
    ((_ id)
     (datum->syntax
      #'id ;; Note that the whole form should have the caller's context.
      `(require (file ,(path->string (stx->path #'id))))))))




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