loop touchup

pull/21/head
Matthew Butterick 6 years ago
parent 57522a1be9
commit 5c40ca6279

@ -14,12 +14,11 @@
EXPR ...)))))
(define (convert-expr x)
(let loop ([x x])
(cond
[(list? x) (map loop x)]
[(number? x) 42]
[(string? x) "whee"]
[else 'kaboom])))
(cond
[(list? x) (map convert-expr x)]
[(number? x) 42]
[(string? x) "whee"]
[else 'kaboom]))
(define-macro (dsl-module-begin EXPR ...)
#'(#%module-begin

@ -1,12 +1,11 @@
#lang br
(define (convert-expr x)
(let loop ([x x])
(cond
[(list? x) (map loop x)]
[(number? x) 42]
[(string? x) "whee"]
[else 'kaboom])))
(cond
[(list? x) (map convert-expr x)]
[(number? x) 42]
[(string? x) "whee"]
[else 'kaboom]))
(define-macro (dsl-module-begin EXPR ...)
#'(#%module-begin

Loading…
Cancel
Save