From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.devel Subject: implicitly using existing function as generic fails in 1.9 Date: Wed, 02 Feb 2011 15:02:50 +0100 Organization: www.AvatarAcademy.nl Message-ID: <1296655370.19670.270.camel@vuurvlieg> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-Blwbul+oPCU6esqSiO6c" X-Trace: dough.gmane.org 1296656911 466 80.91.229.12 (2 Feb 2011 14:28:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2011 14:28:31 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Feb 02 15:28:27 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 1Pkdh5-00081W-D0 for guile-devel@m.gmane.org; Wed, 02 Feb 2011 15:28:27 +0100 Original-Received: from localhost ([127.0.0.1]:44922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkdh7-00080f-5y for guile-devel@m.gmane.org; Wed, 02 Feb 2011 09:28:29 -0500 Original-Received: from [140.186.70.92] (port=35249 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkdWg-0001zn-SH for guile-devel@gnu.org; Wed, 02 Feb 2011 09:17:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkdIN-0006Hz-O4 for guile-devel@gnu.org; Wed, 02 Feb 2011 09:03:00 -0500 Original-Received: from smtp-vbr19.xs4all.nl ([194.109.24.39]:2637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkdIN-0006FC-GQ for guile-devel@gnu.org; Wed, 02 Feb 2011 09:02:55 -0500 Original-Received: from [192.168.1.112] (peder.onsbrabantnet.nl [88.159.206.46] (may be forged)) (authenticated bits=0) by smtp-vbr19.xs4all.nl (8.13.8/8.13.8) with ESMTP id p12E2p93035014; Wed, 2 Feb 2011 15:02:51 +0100 (CET) (envelope-from janneke-list@xs4all.nl) X-Mailer: Evolution 2.30.3 X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-Received-From: 194.109.24.39 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:11507 Archived-At: --=-Blwbul+oPCU6esqSiO6c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi, See attached code, run using ./run.scm 1.8 says: 14:58:59 janneke@vuurvlieg:~/vc/schikkers-list/remove $ ./run.scm WARNING: (use): `remove!' imported from both (srfi srfi-1) and (remove) : remove! 1.9.14 says: 14:58:36 janneke@vuurvlieg:~/vc/schikkers-list/remove $ rm -rf ~/.cache/guile/ 14:59:10 janneke@vuurvlieg:~/vc/schikkers-list/remove $ ./run.scm ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to disable. ;;; compiling ./run.scm ;;; compiling /home/janneke/vc/schikkers-list/remove/use.scm ;;; compiling /home/janneke/vc/schikkers-list/remove/remove.scm ;;; compiled /home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/remove.scm.go WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1) ;;; compiled /home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/use.scm.go ;;; compiled /home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/run.scm.go WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1) WARNING: (use): `remove!' imported from both (srfi srfi-1) and (remove) WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1) Backtrace: In module/ice-9/boot-9.scm: 170: 9 [catch #t # ...] In unknown file: ?: 8 [catch-closure] In module/ice-9/boot-9.scm: 62: 7 [call-with-prompt prompt0 ...] In module/ice-9/eval.scm: 389: 6 [eval # #] In module/ice-9/boot-9.scm: 1864: 5 [save-module-excursion #] 1172: 4 [load "./run.scm" #f] In unknown file: ?: 3 [load-compiled/vm "/home/janneke/.cache/guile/ccache/2.0-0.T-LE-4/home/janneke/vc/schikkers-list/remove/run.scm.go"] ?: 2 [remove! #< 8b36380>] In module/ice-9/boot-9.scm: 115: 1 [# wrong-number-of-args ...] In unknown file: ?: 0 [catch-closure wrong-number-of-args #f ...] ERROR: In procedure catch-closure: ERROR: Wrong number of arguments to # [1]14:59:12 janneke@vuurvlieg:~/vc/schikkers-list/remove $ I haven't found the fix or workaround other than renaming the method to `xremove!'. Greetings, Jan. --=-Blwbul+oPCU6esqSiO6c Content-Type: application/x-compressed-tar; name="remove.tar.gz" Content-Disposition: attachment; filename="remove.tar.gz" Content-Transfer-Encoding: base64 H4sIAPxjSU0AA+2W226jMBCGuV0/xSTkwlmJBhMOUltVfYA+Qm8ITAgtmMiGVR9/7QApbVVFWi1d 7e58F/gwAzYa/t8orJsfuHHmxDckUWRbkUT+tB1xhIiCIIhFEoeOLwKRCAeiWXc10Ok2VQDOUyol PuOneZfifymqr7/q5JXO6nnWuFR/kQTn+gc2T2zDJHHAn2c7b/nP6+8uYLMr5UYfmAvedw90dsAa bZfhC2ZQdGVlhl6Ou64A7wFWPC+VTE3Oyl+Dp00Dy9X9ki1cxm5ueKfRq5u8q1CbIdjxes0Y5/d9 H+q0lGbmT785YRn0bwozr/7jMPxU/4Hx/FH/WyFO+o9I/18Cz3FfylGxvUIZgHv9KmPgTXOEwlz0 x5BW+xLsxRMfg/3H1c/jy7FRLfBB/WxYGJrdk518RrjNKn03DfW55u7hQQubTM7xWxnP/1MzkwVc Ov+3cXzWf7i1/3+hSELS/1fA3hvAVLO/6gF5d6zKLG1RGw2jKtArUKIqM/3WC06KZ9/AMCh8In8v q1Kte1cAPg3U2B6a/NUVuMZqf7YPYxf7RtVpC24Ly9vTU+6uxwUe5ZIchCAIgiAIgiAIgiAIgiAI giAIgvhn+Ql1GmuFACgAAA== --=-Blwbul+oPCU6esqSiO6c--