[racket-dev] enter! verbosity

From: Ryan Culpepper (ryanc at ccs.neu.edu)
Date: Sat Dec 11 19:24:13 EST 2010

Eli Barzilay wrote:
> A few seconds ago, Matthew Flatt wrote:
>> At Sat, 11 Dec 2010 18:18:13 -0500, Eli Barzilay wrote:
>>> I've made the syntax be:
>>>
>>>   (enter! <module> <noisy>)
>>>
>>> where <noisy> is either `#f', `#t', or `#:reloading'.
>> Descriptive keywords in place of `#t' and `#f' would be clearer and
>> would avoid mixing literal values and keywords in the same position.
> 
> OK, but I can't think of good names...  `#:always' and `#:never'?
> `#:verbose' and `#:silent'?  `#:verbose' and `#:quiet'?  `#:loading'
> and `#:never'?

(enter! <module> maybe-show-load)
   maybe-show-load = #:show-load show-load-expr
                   | <nothing>
   show-load-expr : (or/c 'yes 'no 'reload)

or

(enter! <module> maybe-show-load)
   show-load-option = #:show-load
                    | #:show-reload
                    | <nothing>

Ryan


Posted on the dev mailing list.