From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:38334) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1RwX-0006Yx-3T for gwl-devel@gnu.org; Tue, 11 Feb 2020 04:34:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1RwS-00031p-Mj for gwl-devel@gnu.org; Tue, 11 Feb 2020 04:34:56 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1RwS-0002wE-8T for gwl-devel@gnu.org; Tue, 11 Feb 2020 04:34:52 -0500 References: <87h801p818.fsf@elephly.net> <87h800u84z.fsf@kyleam.com> <87a75spx3i.fsf@elephly.net> <877e0vq5iy.fsf@elephly.net> <875zgfosvi.fsf@elephly.net> <87zhdqnndg.fsf@elephly.net> From: Ricardo Wurmus Subject: Re: Preparing for a new release In-reply-to: <87zhdqnndg.fsf@elephly.net> Date: Tue, 11 Feb 2020 10:34:40 +0100 Message-ID: <87y2t9o4b3.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+kyle=kyleam.com@gnu.org Sender: "gwl-devel" To: zimoun Cc: gwl-devel@gnu.org Ricardo Wurmus writes: > So you can do this now: > > --8<---------------cut here---------------start------------->8--- > process foo > inputs > . "something" > . samples: "a" "b" "c" > procedure > define second-sample > pick second samples: inputs > . # { echo {{second-sample}} } > --8<---------------cut here---------------end--------------->8--- > > Unfortunately, the leading dot sticks out like a wart here. We could > only drop it if I manage to rewrite the code-snippet value so that it > really is a procedure that will return itself when applied to zero > arguments=E2=80=A6 It might be possible with some tinkering. It is now possible to leave off the leading period as code snippets can now be in procedure application position returning themselves. --8<---------------cut here---------------start------------->8--- process foo inputs . "something" . samples: "a" "b" "c" procedure define second-sample pick second samples: inputs # { echo {{second-sample}} } --8<---------------cut here---------------end--------------->8--- Ah, that=E2=80=99s better! -- Ricardo