Join Nostr
2026-05-13 16:56:19 UTC

graywolf on Nostr: How do you all prefer your syntax-rules? (define-syntax-rule (my-when cond body body* ...

How do you all prefer your syntax-rules?

(define-syntax-rule (my-when cond body body* ...)
(when cond body body* ...))

for precision or

(define-syntax-rule (my-when cond body ...)
(when cond body ...))

for readability? And what about documentation?

Evaluate {body body* ...} ...

or

Evaluate {body ...} ...

For me, just `body ...' reads better (both in code and in the manual, but `body body* ...' is more accurate, so I am on the fence about this.

#guile #scheme