Fix paren (closes #3)

master
Matthew Butterick 6 years ago committed by GitHub
parent 0271331d12
commit 8edff5b45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -443,8 +443,8 @@ One way to write this function is like so:
@racketblock[
(define (make-list-function tag [attrs empty])
(define (listifier . args)
(list* tag attrs (detect-list-items args))
listifier))]
(list* tag attrs (detect-list-items args)))
listifier)]
That is, explicitly define a new function called @racket[listifier] and then return that function. That's the best way to do it in many programming languages.