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: implicitly using existing function as generic fails in 1.9 Date: Fri, 11 Feb 2011 18:48:48 +0100 Message-ID: References: <1296655370.19670.270.camel@vuurvlieg> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297446243 19642 80.91.229.12 (11 Feb 2011 17:44:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 17:44:03 +0000 (UTC) Cc: guile-devel To: Jan Nieuwenhuizen Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Feb 11 18:43:56 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pnx2C-0007r3-Gj for guile-devel@m.gmane.org; Fri, 11 Feb 2011 18:43:56 +0100 Original-Received: from localhost ([127.0.0.1]:52972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnx2B-0001Sb-S8 for guile-devel@m.gmane.org; Fri, 11 Feb 2011 12:43:55 -0500 Original-Received: from [140.186.70.92] (port=58866 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnx20-0001IR-Mc for guile-devel@gnu.org; Fri, 11 Feb 2011 12:43:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnx1y-0006Bi-RB for guile-devel@gnu.org; Fri, 11 Feb 2011 12:43:44 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:48281 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnx1y-0006BV-Kl for guile-devel@gnu.org; Fri, 11 Feb 2011 12:43:42 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E72794570; Fri, 11 Feb 2011 12:44:43 -0500 (EST) 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=HInz8v65fq+OKkvCIcgCkoUOY1I=; b=NHqWGU 6TxwE+BkP9E9Z2nDES8u9BEiOiBTZD2n6SD8/ULbC43WAZU4yXEliehptKbO4XoL Wh8bq8AiEYUN3KDoqPsvxBxvEctx9x0+6/DUViqDRZXPakCC5r4pUe43q7QM0i9x CwqJxwvb4FnwN9EqNZ4dJws9IgcX91JLzuOiA= 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=P2tPnrdrl4cvQdcMfJkJepByy5nbWDDd ISwME5gt2QSQzYw0Vol48vRGKnkMQGO1mChfVipTpzMt1r7nglz/wIHpaZiw2pbp zWJQIjCK5MeuXdQ3A7cSsqOmd9aNksuS/PPMVfyYDcj2NRKcVnqx8AYiP6qFGUiU Zr0ATuMn0IE= 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 D19D4456F; Fri, 11 Feb 2011 12:44:42 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (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 346BA456E; Fri, 11 Feb 2011 12:44:40 -0500 (EST) In-Reply-To: <1296655370.19670.270.camel@vuurvlieg> (Jan Nieuwenhuizen's message of "Wed, 02 Feb 2011 15:02:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 9B87FAE6-3606-11E0-A40D-AF401E47CF6F-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11561 Archived-At: On Wed 02 Feb 2011 15:02, Jan Nieuwenhuizen writes: > WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1) As far as I can tell, it never worked to merge generics between a regular procedure and a generic. So the only way that your remove! case could have worked would be to have the define-method create a generic that fell back to the old value; but that does not appear to work: scheme@(guile-user)> (define-method (remove! (s )) (pk 'hey)) ERROR: In procedure scm-error: ERROR: # is not a valid generic function And indeed that does not appear to work with 1.8. I don't understand what's going on here, really. Do you? Andy -- http://wingolog.org/