From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Improved source properties and errors; => within case Date: Wed, 8 Feb 2012 16:27:58 -0500 Message-ID: References: <87haz18zet.fsf@netris.org> <87fwel1vxr.fsf@pobox.com> <87bop98fmf.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328736486 23379 80.91.229.3 (8 Feb 2012 21:28:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2012 21:28:06 +0000 (UTC) Cc: Andy Wingo , guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Feb 08 22:28:05 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvF3b-0008FB-UG for guile-devel@m.gmane.org; Wed, 08 Feb 2012 22:28:04 +0100 Original-Received: from localhost ([::1]:35496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvF3b-00010S-4I for guile-devel@m.gmane.org; Wed, 08 Feb 2012 16:28:03 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvF3Y-00010N-Gu for guile-devel@gnu.org; Wed, 08 Feb 2012 16:28:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvF3X-0004Xb-Cs for guile-devel@gnu.org; Wed, 08 Feb 2012 16:28:00 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:41878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvF3X-0004XL-9p for guile-devel@gnu.org; Wed, 08 Feb 2012 16:27:59 -0500 Original-Received: by iagz16 with SMTP id z16so1797840iag.0 for ; Wed, 08 Feb 2012 13:27:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JHxaFjqfoL300+suW7Xf/tw0QFV3nhi0zd5X5Dgt7to=; b=dOfSYd3GvHeTyE4rGiC/x9GRe69TskourfQ7w8Xs6SrZCHt28HI2o84LnDVFnmGQKi LtI9uG3WXF4U/ZUJ432Hq4imzQI+r8PjCcYcMNg8qkAARh8PrF30+/GfkdjitgiH30o9 sawVtE+z9khXoBbsZXfSypgcKZE+QoDDKvDWo= Original-Received: by 10.42.138.133 with SMTP id c5mr29547211icu.52.1328736478127; Wed, 08 Feb 2012 13:27:58 -0800 (PST) Original-Received: by 10.42.142.7 with HTTP; Wed, 8 Feb 2012 13:27:58 -0800 (PST) In-Reply-To: <87bop98fmf.fsf@netris.org> X-Google-Sender-Auth: zcTcB4TQWsVLlDBzjIPjQcr_2gA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13828 Archived-At: Hello, > Hmm. =A0I don't know if this is what you meant, but it occurs to me that > as I've currently implemented them, both (cond (else (define x 5) x)) > and (case 1 (else (define x 5) x)) are allowed. =A0I'll have to make sure > that those raise errors. =A0I guess that means I'll have to insert a '#f' > like I did for local-eval. =A0Do you see a better way? This makes me think that we should have a macro called expression-context for putting things in expression context. It's not that it's hard to insert #f, but that makes the source code less clear unless people know why a random `#f' would appear in the code. What does everyone else think? Noah