We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d39698 commit 168bf07Copy full SHA for 168bf07
main.rkt
@@ -3,13 +3,13 @@
3
(module+ main
4
(require racket/cmdline)
5
6
- (define who (box "world"))
+ (define who (parameter "world"))
7
(command-line
8
#:program "racket-project"
9
#:once-each
10
- [("-n" "--name") name "Who to say hello to" (set-box! who name)]
+ [("-n" "--name") name "Who to say hello to" (who name)]
11
#:args ()
12
- (printf "hello ~a~n" (unbox who))))
+ (printf "hello ~a~n" (who))))
13
14
(module+ test
15
(require rackunit)
0 commit comments