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: Mon, 30 Mar 2020 12:34:02 +0200 Message-ID: <20200330103402.GC22399@tuxteam.de> References: <91a7553d-2f04-4319-3437-fbe05cddde47@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jy6Sn24JjFx/iggw" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="116659"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Mar 30 12:34:31 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 1jIrkU-000UFq-A9 for guile-user@m.gmane-mx.org; Mon, 30 Mar 2020 12:34:30 +0200 Original-Received: from localhost ([::1]:47762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIrkT-0001N9-86 for guile-user@m.gmane-mx.org; Mon, 30 Mar 2020 06:34:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49429) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIrkG-0001Mk-Ng for guile-user@gnu.org; Mon, 30 Mar 2020 06:34:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIrkF-0001A2-NW for guile-user@gnu.org; Mon, 30 Mar 2020 06:34:16 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:52801) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIrkF-000160-5s for guile-user@gnu.org; Mon, 30 Mar 2020 06:34:15 -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:To:Date; bh=On/79L6f85sO1tk5e6pkKwhbJggY3ooYx+vDjlytZL4=; b=jDlx12J4w+C1TMOh0ABZ1SzlahWf2ET7YRjXk99Cc2OFPmDc+GU4oeAOE20sqNQjv0ZHlSvC7auEsFaNQCxTJk6ExG6XFR/+uvP7UHysCEXes6tg2h06d7XcNXxjbN88VXg5Hm8Gtsfu3RgYE9v5Sq+BWComL1351LEcoAQ6XYaXsDJJtuD2PJNsVRHX/x4SlJdXCAbJVuPl1pWKHiVxxRRzGAPmmL/nDC4ZW+wF+SmpRcetxO2In/0O7czXmXd67AL9tUU1wgxhvfWWnKUuhhqf+rev0D+ian7tg63UgseeEXNzWTvZa4RVYSVDZzd0c+M7QPK8Tt+/80jUytL+6g==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jIrk2-0007EL-NE for guile-user@gnu.org; Mon, 30 Mar 2020 12:34:02 +0200 Content-Disposition: inline In-Reply-To: <91a7553d-2f04-4319-3437-fbe05cddde47@posteo.de> 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:16355 Archived-At: --jy6Sn24JjFx/iggw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 30, 2020 at 12:07:07AM +0200, Zelphir Kaltstahl wrote: >=20 > On 3/29/20 5:11 PM, Matt Wette wrote: > > Hi All, > > > > I'm not sure if you know about this, but there is a discrepancy in the > > way some folks define macros to use unquote (aka ,).=C2=A0=C2=A0 For ex= ample, [pmatch vs. match] > I'm not sure where I first read about pmatch doing the quasiquote > internally automatically and I of course had already forgotten about it, [...] I didn't even know about `pmatch'. Is it supposed to be equivalent to `match' (except that outer quasiquote, that is)? With the caveat that I don't have much of a stylistic feeling for Scheme, I'd clearly prefer `match': the writer has the choice of quote or quasiquote, as appropriate to the case -- and the reader sees what's going on (after all, quote and quasiquote are "low weight" primitives: everyone more or less knows what they do. But perhaps I misunderstood what you're after? Cheers -- tom=C3=A1s --jy6Sn24JjFx/iggw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl6ByxoACgkQBcgs9XrR2kbb9wCfWTp2wP+qSWWeqHtC1QBhkh56 234AnR6z0IbxKNU52WIbW7B8g1AAA/hq =zcYl -----END PGP SIGNATURE----- --jy6Sn24JjFx/iggw--