I am starting a project where I will have many module files, but it seems that "send to REPL" functions are not module-aware, or am I just missing some detail?
Given the following two files:
mod1.rkt:
#lang racket/base
(require "./mod2.rkt")
(define t 1)
and mod2.rkt:
#lang racket/base
(define t 2)
I do racket-run while visiting mod1.rkt. Then I visit mod2.rkt and try to send the definition of t with racket-send-definition. It does succeed, but overrides the t from mod1.
I need to be able to re-define in a module-aware manner (i.e. the way it works in CIDER for Clojure).
I am starting a project where I will have many module files, but it seems that "send to REPL" functions are not module-aware, or am I just missing some detail?
Given the following two files:
mod1.rkt:and
mod2.rkt:I do
racket-runwhile visitingmod1.rkt. Then I visitmod2.rktand try to send the definition oftwithracket-send-definition. It does succeed, but overrides thetfrommod1.I need to be able to re-define in a module-aware manner (i.e. the way it works in CIDER for Clojure).