> On Feb 8, 2017, at 2:06 PM, Matthias Felleisen wrote:
>
>
> I thought of giving this answer too, but if this is about testing let me
> propose a slightly different approach:
Thanks. By "testing" I meant flailing around in the REPL while I a) learn
Racket and b)
I thought of giving this answer too, but if this is about testing let me
propose a slightly different approach:
#lang racket
;; assume main has two arguments
(define (main)
(define args (current-command-line-arguments))
(if (= (vector-length args) 0)
(do-it)
> On Feb 8, 2017, at 2:02 PM, Ben Greenman wrote:
>
> One idea: you can put the argument-parsing code in the "main" submodule, then
> tell DrRacket not to run the main submodule.
[snip]
> Then in DrRacket, click "Language -> Choose Language -> Show Details ->
>
3 matches
Mail list logo