do macro expands to letrec primitive
Bug #181601 reported by
leppie
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r6rs-libraries |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The do-macro expands to an unexpanded letrec, surely letrec* (if available) should be used or the letrec should be expanded to more primitive forms. This will likely make no difference on most implementations, but could cause issues if the implementation does not provide a compatible letrec.
To post a comment you must log in.
So, you want a "if-wants-letrec" similar to how "if-wants-letrec*" to either generate a native letrec or expand it to a primitive form?