lambda-less make-list-function sample has incorrectly placed parens #3

Closed
opened 6 years ago by kisaragi-hiu · 1 comments
kisaragi-hiu commented 6 years ago (Migrated from github.com)

https://github.com/mbutterick/pollen-tfl/blob/master/scribblings/pollen-rkt.scrbl#L443

This has no expression after the initial nested define.

(define (make-list-function tag [attrs empty])
  (define (listifier . args)
    (list* tag attrs (detect-list-items args))
    listifier))

This is the currect version.

(define (make-list-function tag [attrs empty])
  (define (listifier . args)
    (list* tag attrs (detect-list-items args)))
  listifier)
https://github.com/mbutterick/pollen-tfl/blob/master/scribblings/pollen-rkt.scrbl#L443 This has no expression after the initial nested define. ```racket (define (make-list-function tag [attrs empty]) (define (listifier . args) (list* tag attrs (detect-list-items args)) listifier)) ``` This is the currect version. ```racket (define (make-list-function tag [attrs empty]) (define (listifier . args) (list* tag attrs (detect-list-items args))) listifier) ```
mbutterick commented 6 years ago (Migrated from github.com)

Thanks!

Thanks!
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen-tfl#3
Loading…
There is no content yet.