From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: syntax taste: use of unquote in macros Date: Tue, 31 Mar 2020 11:19:38 +0200 Message-ID: <20200331091938.GC5995@tuxteam.de> References: <91a7553d-2f04-4319-3437-fbe05cddde47@posteo.de> <20200330103402.GC22399@tuxteam.de> <2fc3bffd-da8d-eb4b-094b-649cf76e3fee@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eHhjakXzOLJAF9wJ" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="77009"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Mar 31 11:20:09 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJD44-000Ju4-5Q for guile-user@m.gmane-mx.org; Tue, 31 Mar 2020 11:20:08 +0200 Original-Received: from localhost ([::1]:34462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJD43-0006SY-3q for guile-user@m.gmane-mx.org; Tue, 31 Mar 2020 05:20:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36143) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJD3j-0006PI-Kz for guile-user@gnu.org; Tue, 31 Mar 2020 05:19:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJD3i-0000Qm-DT for guile-user@gnu.org; Tue, 31 Mar 2020 05:19:47 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:55685) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJD3h-0000Pg-Tp for guile-user@gnu.org; Tue, 31 Mar 2020 05:19:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=LgCOK0sQTE3A2XHRrTtfTHp8C2FY1eXP6ECoB4xIKyw=; b=tDKpp0mjJZ4IDMsIMgsniCWRDa09Gn9k9+aaLeB2mvZTEQeBSvLqn1u4utJEt0uZPNcoXdeFjKDQ457rrdmIDL9fDnM2iWuULs7Lkmqe00JbBBrFc7/bcgzqMpFFC8U9FUPyfSgm4HdEAuLfrbiDJRVJGe3Xk5CWmxC9Pm4o3Tiz5GvCY2clP+vJcDbYhutBx2/3d0Q14K0BEYXeTztivXEKtjWSent9uFnS69qgh+I90vaZtXZMkI9aMVveGxbWzRNZ2Bydu0JNc0R7Eo6xGw7GHNChxmSx3zX23rx0OHNgNAX2KIMtUrIrBLkN7mk6rLUraBbeLWHROI4ypuwJag==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jJD3a-00036r-Mw; Tue, 31 Mar 2020 11:19:38 +0200 Content-Disposition: inline In-Reply-To: <2fc3bffd-da8d-eb4b-094b-649cf76e3fee@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16359 Archived-At: --eHhjakXzOLJAF9wJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 30, 2020 at 04:43:47PM -0700, Matt Wette wrote: [...] > The other thing about match that is attractive is that use of > quasiquote+unquote is "reflexive" (or maybe self-adjoint?) > in the following sense: >=20 > '(foo "bar") =3D> (match-lambda (`(foo ,val) `(foo ,val))) =3D> '(foo "ba= r") Sorry, my head just exploded :-) Will take it more slowly later today. Thanks for the riddle. Cheers -- t --eHhjakXzOLJAF9wJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl6DCyoACgkQBcgs9XrR2kYrgACfQihsvjSPZNM0nR4G239aFHKs O1kAn1ncUE/I50/dWyhqPAW+Ed2fp7Ut =1AJE -----END PGP SIGNATURE----- --eHhjakXzOLJAF9wJ--