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.
2 parents 3b7d9e1 + d2dd33e commit 17bcf45Copy full SHA for 17bcf45
infra/convert-demo.rkt
@@ -14,8 +14,7 @@
14
15
(define (format-expr is-version-10 expr)
16
(match expr
17
- [(? string?)
18
- (or (string->number expr) (raise (error "string that is not a num")))]
+ [(? string?) (or (string->number expr) (raise (error "string that is not a num")))]
19
[(list op args ...) (format-op (cons op (map (curry format-expr is-version-10) args)))]
20
[(? symbol?)
21
(if is-version-10
0 commit comments