From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: julian@openit.de (Julian v. Bock) Newsgroups: gmane.lisp.guile.user Subject: Re: Problem with cond macro. Date: Tue, 16 Apr 2002 10:49:18 +0200 Sender: guile-user-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1018947132 28526 127.0.0.1 (16 Apr 2002 08:52:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 16 Apr 2002 08:52:12 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16xOhA-0007Px-00 for ; Tue, 16 Apr 2002 10:52:12 +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 16xOg3-0007gB-00; Tue, 16 Apr 2002 04:51:03 -0400 Original-Received: from mail.openit.de ([217.69.65.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16xOeP-0007YU-00 for ; Tue, 16 Apr 2002 04:49:22 -0400 Original-Received: from warpcore.openit.de (warpcore.openit.de [217.69.64.254]) by mail.openit.de (8.12.1/8.12.0) with ESMTP id g3G8nJZ5021745; Tue, 16 Apr 2002 10:49:19 +0200 Original-Received: from WarpCore.i.OpenIT.DE (localhost [127.0.0.1]) by warpcore.openit.de (8.12.1/8.12.1) with ESMTP id g3G8nJfb003051; Tue, 16 Apr 2002 10:49:19 +0200 Original-Received: (from julian@localhost) by WarpCore.i.OpenIT.DE (8.12.1/8.12.1/Submit) id g3G8nIX2003048; Tue, 16 Apr 2002 10:49:18 +0200 X-Authentication-Warning: WarpCore.i.OpenIT.DE: julian set sender to julian@openit.de using -f Original-To: Panagiotis Vossos X-Face: $~?g2!-On|QWPz8qkxU3V^DL7_Tli#/R8{t\$SYTT,/`5";d|]YB@q/9_|NP;|:tK&kx:n7f=%y:G)b0$[Y{}F_@"gb6WsI_LV8"%F7-|Kd="x6g18{t|/Gan9"&C!t_$6(HTf-1.}t/]RUW4k-;O6j5+FEyG29jrf,f?hKqa*l]*DVr;nhJN)+~H5&Xm&M\m_&rX/+WL In-Reply-To: (Panagiotis Vossos's message of "Tue, 16 Apr 2002 01:41:12 +0300") Original-Lines: 19 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) 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:183 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:183 Hi >>>>> "PV" == Panagiotis Vossos writes: PV> Ok, I just started studying macros, so I might be missing PV> something obvious, but the following example from r5rs doesn't PV> work correctly with guile: guile> (version) PV> "1.5.6" guile> (let ((=> #f)) PV> (cond (#t => 'ok))) standard input:3:10: In expression (cond PV> (#t => #)): standard input:3:10: Wrong type to apply: ok ABORT: PV> (misc-error) This works only if cond is implemented as a R5RS macro. This is not guaranteed by the standard though. Julian _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user