Stupid question, but how would I saving them in a global variable?  So far 
I have this:

(define-syntax handle
  (syntax-parser
    [(_ b:expr) #`(set! #,(syntax-local-introduce (datum->syntax #f 'doc)) 
(string-append #,(syntax-local-introduce (datum->syntax #f 'doc)) b))]))

(define-syntax wrapping-modbeg
  (make-wrapping-module-begin #'handle))
  
(define-syntax md-module-begin
  (syntax-parser
    [(_ (expr1 ...)) #'(wrapping-modbeg (define doc "")
                                        expr1 ...)]))

However, it complains that `set!` isn't defined.  I thought it would be 
defined since my module provides `racket/base`.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to