[racket] Testing modifications to 3rd party packages

From: Bartosz Przygoda (bprzygoda at gmail.com)
Date: Tue Feb 10 09:46:06 EST 2015

Sorry for noise. Indeed it has to be required by the same path as the one
used for entering, but this time it worked.

On Tue, Feb 10, 2015 at 3:00 PM, Bartosz Przygoda <bprzygoda at gmail.com>
wrote:

> Hi,
>
> Suppose I want to test some modification to a package, say: ffi/unsafe. I
> fetch racket source code from github, perform modifications (let's just add
> *baz* function (and provide it)), fire up a repl (I'm normally using Geiser
> for Emacs, but here I will use xrepl):
>
> ,en "sources/racket/racket/collects/ffi/unsafe.rkt"
>
> -> baz
> #<procedure:baz>
>
> ,en #f
> ,en "sources/test.rkt"
> ->(require ffi/unsafe)
>
> ->baz
> ; baz undefined
>
> Is it because when I enter such module it's loaded under different path
> than when requiring it with short 'ffi/unsafe'? For that matter, I cannot
> require it using same path I've used when entering...
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20150210/82ca163c/attachment.html>

Posted on the users mailing list.