Skip to content

Send to REPL and multi-module projects #766

@a1exsh

Description

@a1exsh

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions