From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.devel Subject: Re: unhandled constant? Date: Sun, 02 Feb 2020 20:30:06 +0100 Organization: AvatarAcademy.nl Message-ID: <87ftfsdby9.fsf@gnu.org> References: <87r1ziti8g.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81449"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: guile-devel@gnu.org To: Han-Wen Nienhuys Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Feb 02 20:30:31 2020 Return-path: Envelope-to: guile-devel@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 1iyKwx-000L40-Cg for guile-devel@m.gmane-mx.org; Sun, 02 Feb 2020 20:30:31 +0100 Original-Received: from localhost ([::1]:59040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyKww-0002B7-DU for guile-devel@m.gmane-mx.org; Sun, 02 Feb 2020 14:30:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60784) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyKwd-00029o-MO for guile-devel@gnu.org; Sun, 02 Feb 2020 14:30:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iyKwc-0008IO-L3; Sun, 02 Feb 2020 14:30:10 -0500 Original-Received: from cable-85.28.105.83.coditel.net ([85.28.105.83]:35100 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iyKwb-0000Ox-IJ; Sun, 02 Feb 2020 14:30:10 -0500 X-Url: http://AvatarAcademy.nl In-Reply-To: (Han-Wen Nienhuys's message of "Thu, 30 Jan 2020 09:05:17 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20377 Archived-At: Han-Wen Nienhuys writes: > [guile1.8]$ grep -ir define-syntax-rule . > > (empty) > > I need something that works in GUILE 1.8 too. Guile 1.8 has syntax-rules after you include (ice-9 syncase). (define-syntax-rule foo ...) is just syntactic sugar for (define-syntax foo (syntax-rules () ...); see the manual. Combined with cond-expand, maybe that could work? janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com