Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Resyntax fixes #466

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Fix 1 occurrence of map-to-for
This `map` operation can be replaced with a `for/list` loop.
resyntax-ci[bot] committed Dec 25, 2024
commit 8a0b0bff812bacdd932239adf8195f4d2cff8625
7 changes: 2 additions & 5 deletions scribble-lib/scriblib/footnote.rkt
Original file line number Diff line number Diff line change
@@ -70,9 +70,6 @@
(lambda (get set)
(make-compound-paragraph
footnote-block-style
(map (lambda (content)
(make-paragraph
footnote-block-content-style
content))
(reverse (get id null)))))))
(for/list ([content (in-list (reverse (get id null)))])
(make-paragraph footnote-block-content-style content))))))
null))