[racket] Initial environment
I do not think it is possible. DrRacket is designed so that the interaction
window has the namespace of exactly the file you are writing. That is, what
you type in the interactions window should behave similarly to if you
appended it into the file. And running the file should have the same
behavior as running it with the command-line racket. Having DrRacket insert
requires silently would violate this.
On Sun, Mar 1, 2015 at 1:55 AM, Jukka Tuominen <jukka.tuominen at finndesign.fi
> wrote:
>
> Just to clarify my previous message...
>
> Say, I want to include 2htdp/image and 2htdp/universe libraries so that
> once I start DrRacket, I can type "circle" in the interactions pane even
> before pressing the "run" button. The same libraries should be available
> directly for racket and gracket, as well.
>
> What would be the safest way to achieve this?
>
> br, jukka
>
>
> >
> > If I want to ensure that certain libraries get automatically included
> > (required) in the initial racket/gracket/drracket environments, where
> > should I add them?
> >
> > I tried /racket/collects/init.rkt but that didn't seem to work. I didn't
> > remove the .zo file though...
> >
> > br, jukka
> >
> >
> >
> > ____________________
> > Racket Users list:
> > http://lists.racket-lang.org/users
> >
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20150301/1cedc665/attachment.html>