[racket] Initial environment
You might also consider making a new language along the lines of #lang
racket/gui that includes the extra stuff you want.
Robby
On Sun, Mar 1, 2015 at 3:00 PM, Jukka Tuominen
<jukka.tuominen at finndesign.fi> wrote:
>
> Thank you Eric,
>
> I appreciate the principle. I got it working now without violations.
>
> br, jukka
>
>
>> 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
>>>
>>
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users