[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Macro returning multiple nodes?
From: |
Evan Hanson |
Subject: |
Re: [Chicken-users] Macro returning multiple nodes? |
Date: |
Sat, 20 Sep 2014 18:54:25 -0700 |
User-agent: |
OpenSMTPD enqueuer (Demoosh) |
Hi Mathieu,
The usual way to do this is to splice the multiple forms you want to
return into a `begin`:
`(begin
,@(map (lambda (record-value)
`(,(symbol-append record-symbol '- record-value) ,record-symbol))
record-values))))))
Cheers,
Evan