From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marco Maggi Newsgroups: gmane.lisp.guile.user Subject: [r6rs] abusive request for help on "unbound variable" error Date: Thu, 18 Nov 2010 22:25:29 +0100 Message-ID: <874obe1fzq.fsf@rapitore.luna> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1290115486 8413 80.91.229.12 (18 Nov 2010 21:24:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2010 21:24:46 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Nov 18 22:24:42 2010 Return-path: Envelope-to: guile-user@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 1PJByC-0004RP-W2 for guile-user@m.gmane.org; Thu, 18 Nov 2010 22:24:41 +0100 Original-Received: from localhost ([127.0.0.1]:56393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJByB-0001Xb-VT for guile-user@m.gmane.org; Thu, 18 Nov 2010 16:24:40 -0500 Original-Received: from [140.186.70.92] (port=51982 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJBy0-0001XT-Hx for guile-user@gnu.org; Thu, 18 Nov 2010 16:24:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJBxz-0000Ke-1o for guile-user@gnu.org; Thu, 18 Nov 2010 16:24:28 -0500 Original-Received: from relay-pt2.poste.it ([62.241.5.253]:44116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJBxy-0000KT-S2 for guile-user@gnu.org; Thu, 18 Nov 2010 16:24:27 -0500 Original-Received: from rapitore.luna (93.147.77.16) by relay-pt2.poste.it (8.5.121.01) (authenticated as marco.maggi-ipsu@poste.it) id 4CE46CD000024C4C for guile-user@gnu.org; Thu, 18 Nov 2010 22:24:24 +0100 Original-Sender: marco.maggi-ipsu@poste.it X-Loop: marco@maggi.it X-Mailer: GNU Emacs Original-Lines: 45 X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8218 Archived-At: Ciao, sorry for being abusive in this request; I am developing a small experimental package[1] and so far it works with Larceny, Mosh, Petite Chez, Racket, Vicare and Ypsilon (meaning that it passes the tests I have written so far); for this reason I am somewhat confident that the code is "correct". With Guile's master branch checkout 8d10ccae79ff46f0ebea92ba36acfaebafba8d86 on an i686-pc-linux-gnu I get the following error: ;;; compiling ./tests/test-functional.sps ;;; WARNING: compilation of ./tests/test-functional.sps failed: ;;; key vm-error, throw_args (vm-run "VM: Unbound variable: ~s" (#>)) guile: uncaught throw to vm-error: (vm-run "VM: Unbound variable: ~s" (#>)) it is cryptic to say the least; commenting out all the tests from the "test-functional.sps" file the error goes away, it seems that the form: (define-type + (( -> ) fx+) (( -> ) fx+) (( -> ) +)) at line 67 is enough to trigger the error. I wonder if some kind soul can try it and/or suggest how to inspect this further; if you do, just running "make gtest" in the top source directory will run the test with Guile. TIA P.S. It appears that some or all the bindings from the R6RS libraries: (rnrs arithmetic fixnums) (rnrs arithmetic flonums) are not re-exported by (rnrs). [1] -- Marco Maggi