9 minutes ago, Ryan Culpepper wrote: > 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)
Way too verbose to my taste. This is supposed to be something that you'd actually write in a repl. > (enter! <module> maybe-show-load) > show-load-option = #:show-load > | #:show-reload > | <nothing> Problematic for two reasons: (a) it's not obvious that `#:show-load' implies `#:show-reload', (b) the popular choice for a default is to show reloads. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev