From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Panagiotis Vossos Newsgroups: gmane.lisp.guile.user Subject: Re: Problem with cond macro. Date: Wed, 17 Apr 2002 03:30:19 +0300 Sender: guile-user-admin@gnu.org Message-ID: References: <20020416153851.GM4288@linger.twisted-muse.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1019008314 27694 127.0.0.1 (17 Apr 2002 01:51:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 17 Apr 2002 01:51:54 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16xeby-0007CZ-00 for ; Wed, 17 Apr 2002 03:51:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16xebB-0005Dq-00; Tue, 16 Apr 2002 21:51:05 -0400 Original-Received: from mail1.internet.gr ([62.1.1.41]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16xeYe-00058P-00 for ; Tue, 16 Apr 2002 21:48:28 -0400 Original-Received: from ground.control.net ([62.1.36.44]) by mail1.internet.gr (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GUO00L2TUTFC4@mail1.internet.gr> for guile-user@gnu.org; Wed, 17 Apr 2002 04:29:40 +0300 (EEST) Original-Received: (qmail 18604 invoked by uid 501); Wed, 17 Apr 2002 00:30:19 +0000 In-Reply-To: <20020416153851.GM4288@linger.twisted-muse.org> Original-To: guile-user@gnu.org User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-Lines: 21 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:196 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:196 Joshua Judson Rosen writes: > Try using: > (use-syntax (ice-9 syncase)) > ... rather than: > (use-modules (ice-9 syncase)) > > Doing so gets me proper results for not only your example from above, but > also for the canonical example from r5rs. Thanks, now I get the expected results. However, the manual says: In Guile, the `syntax-rules' system is provided by the `(ice-9 syncase)' module. To make these facilities available in your code, include the expression `(use-modules (ice-9 syncase))' or `(use-syntax (ice-9 syncase))' (*note Using Guile Modules::) before the first usage of `define-syntax' etc. ,so I guess it is a bug with the manual. panagiotis _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user