/usr/share/racket/collects/syntax/context.rkt is in racket-common 6.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #lang racket/base
(provide build-expand-context
generate-expand-context)
(define (build-expand-context v)
(let ([c (syntax-local-context)])
(if (pair? c)
(cons v c)
(list v))))
(struct in-liberal-define-context ()
#:property prop:liberal-define-context #t)
(define (generate-expand-context [liberal-definitions? #f])
(build-expand-context (if liberal-definitions?
(in-liberal-define-context)
(gensym 'internal-define))))
|