From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Broken Backtraces, and Part of a Solution Date: Wed, 18 Apr 2012 18:36:06 -0700 Message-ID: <87sjg0y03d.fsf@pobox.com> References: <87zka8y1y7.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1334799394 21242 80.91.229.3 (19 Apr 2012 01:36:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2012 01:36:34 +0000 (UTC) Cc: guile-devel To: Noah Lavine Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 19 03:36:30 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SKgIQ-0004B2-5b for guile-devel@m.gmane.org; Thu, 19 Apr 2012 03:36:30 +0200 Original-Received: from localhost ([::1]:58175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKgIP-0008Cd-Ig for guile-devel@m.gmane.org; Wed, 18 Apr 2012 21:36:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKgIJ-0008CX-Uw for guile-devel@gnu.org; Wed, 18 Apr 2012 21:36:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKgIF-0005rh-EY for guile-devel@gnu.org; Wed, 18 Apr 2012 21:36:23 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:52748 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKgIF-0005r4-69 for guile-devel@gnu.org; Wed, 18 Apr 2012 21:36:19 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7685D9DE9; Wed, 18 Apr 2012 21:36:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=4Ce3mxtHHHU5nIJguj+Dx9kZGlk=; b=mHl4F4 HCYTXvWyKrMS06VufA/qtu1Lftcg0MQaPOe8zcfZgtd6GhmNEBBh4rN4wE6Zs8mi pxtQYwdhAmC3GixW2TkO9QcMjMDvLif70WhezZ/1hsdX7FXM3RZ0ABHpqrhUAr/C xCLZrGtyMSbzQqMfP8cE3xnks7KfL+Wwb1kec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=AWyhyxHmdcyQ0eYMxGjYJ5mHL/vUoA4v TK4U6LSAdJmJYvgcu4oGivOubrjJv0GJ0ucywjvyaTBvb4XjJRCAgiKSmlG5OeOy j5CpSnKuZpietaWnjfZk6e0PcfBnvHhrbaDomW1POC5N0W3cR+drzn+eqPFQKnqg z4IS2HUj+/g= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6F4919DE8; Wed, 18 Apr 2012 21:36:16 -0400 (EDT) Original-Received: from badger (unknown [70.36.236.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id D41F49DE6; Wed, 18 Apr 2012 21:36:15 -0400 (EDT) In-Reply-To: (Noah Lavine's message of "Wed, 18 Apr 2012 21:08:05 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Pobox-Relay-ID: 0E0C98CA-89C0-11E1-82D8-B1B0728A0A4D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 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:14286 Archived-At: On Wed 18 Apr 2012 18:08, Noah Lavine writes: >> We need to change to default to consider generic objects as >> eq?-compared prompt tags. > > I agree, but you still couldn't use procedures or integers as prompt > tags if you wanted make-stack to work, because those are special > cases. Yeah, but the whole point of prompt tags is that you can make a new one and know that it is eq?-unique, which is not the case for integers. So integers are not in the general case. It seems useful to add procedures as a special case too, no? > That's why I thought of just changing the interface to make-stack to > specify what you want - it's such a weird restriction that someone > could be bitten by it and have a lot of trouble tracking it down. And > because an argument can mean three different things, code that uses > make-stack is hard to understand (or at least it was for me). It's something of a nasty interface, I agree. But it's been around for a long time; if we can make a minimal change, we should, it seems to me. Want to make a patch? Regards, Andy -- http://wingolog.org/