pull/10/head
Matthew Butterick 8 years ago
parent cc4b7d358c
commit 0ad47dd273

@ -10,7 +10,7 @@
(define-macro (b-let ID VAL) #'(set! ID VAL))
(define-macro (b-input ID)
#'(set! ID (let* ([str (read-line)]
#'(b-let ID (let* ([str (read-line)]
[num (string->number (string-trim str))])
(or num str))))

Loading…
Cancel
Save