Re: [racket-users] Re: Why enter/run a submodule in the REPL?

2018-12-13 Thread Laurent
Personally, I use a 'drracket' submodule so that this submodule isn't executed from the command line, but gets executed from within DrRacket. This is particularly useful to avoid outputting graphical objects (such as plots) that can't be displayed on the command line. After pressing Run in

Re: [racket-users] Re: Why enter/run a submodule in the REPL?

2018-12-13 Thread Shu-Hung You
Hi Stephan, The "submodules to run" drop-down menu lets you choose which submodules will be executed when you click the "Run" button. For example, if you have a main submodule and a test submodule, DrRacket will run those 2 submodules by default. You can avoid running tests in the test submodule

[racket-users] Re: Why enter/run a submodule in the REPL?

2018-12-13 Thread Stephen De Gabrielle
Hi, I suppose a better question is what do any racketeers use ‘submodules to run’ in DrRacket? And if so- what for? Stephen On Wed, 12 Dec 2018 at 00:21, Stephen De Gabrielle wrote: > Hi, > > #lang racket > (displayln "This is the main module") > (module+ drracket > (define foo 'FOO) >