
Support for break clauses complicates expansion to `for/fold/derived'; a new `syntax/for-body' library provides a helper for macros that need to split a `for'-style body into a prefix part and wrappable part.
5 lines
88 B
Racket
5 lines
88 B
Racket
#lang racket/base
|
|
|
|
(require (for-template racket/private/for))
|
|
(provide split-for-body)
|