making drdr happy with here path
This commit is contained in:
parent
840ea4f4f5
commit
10c6213a8f
|
@ -5,8 +5,10 @@
|
|||
@(require "shared.ss")
|
||||
|
||||
@(require 2htdp/batch-io)
|
||||
@(require scheme/runtime-path)
|
||||
@(define-runtime-path here ".")
|
||||
@(define (file-is f)
|
||||
(define x (read-file f))
|
||||
(define x (parameterize ([current-directory here]) (read-file f)))
|
||||
(centered
|
||||
(tabular #:style "searchbox"
|
||||
(list (list (verbatim x))))))
|
||||
|
@ -20,10 +22,10 @@
|
|||
(interaction-eval #:eval me (require 2htdp/batch-io))
|
||||
(interaction-eval #:eval me d)
|
||||
...)
|
||||
(current-directory here)
|
||||
(interaction-eval #:eval me (require lang/htdp-intermediate-lambda))
|
||||
me)]))
|
||||
|
||||
|
||||
@; -----------------------------------------------------------------------------
|
||||
|
||||
@(define-syntax-rule (reading name ctc s)
|
||||
|
|
Loading…
Reference in New Issue
Block a user