From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: Loading R6RS Libraries Date: Mon, 15 Nov 2010 09:16:36 +0100 Message-ID: <87mxpbrogr.fsf@delenn.lan> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1289809026 7689 80.91.229.12 (15 Nov 2010 08:17:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2010 08:17:06 +0000 (UTC) Cc: guile-devel@gnu.org To: Noah Lavine Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Nov 15 09:17:02 2010 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 1PHuFJ-0000I6-QK for guile-devel@m.gmane.org; Mon, 15 Nov 2010 09:17:01 +0100 Original-Received: from localhost ([127.0.0.1]:41786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHuFJ-0005Q7-7L for guile-devel@m.gmane.org; Mon, 15 Nov 2010 03:17:01 -0500 Original-Received: from [140.186.70.92] (port=37697 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHuF7-0005P6-8v for guile-devel@gnu.org; Mon, 15 Nov 2010 03:16:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHuF3-0002jj-6w for guile-devel@gnu.org; Mon, 15 Nov 2010 03:16:49 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:49420 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PHuF2-0002j1-R1 for guile-devel@gnu.org; Mon, 15 Nov 2010 03:16:45 -0500 Original-Received: (qmail invoked by alias); 15 Nov 2010 08:16:42 -0000 Original-Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp049) with SMTP; 15 Nov 2010 09:16:42 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX19ro5V80SZrn51WYVHuEG0Bn+qqsRRc/JLO82GDx8 QkFAaD1RMOo8Qa Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 235A23A695; Mon, 15 Nov 2010 09:16:41 +0100 (CET) Original-Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f5K7rogkCo9r; Mon, 15 Nov 2010 09:16:37 +0100 (CET) Original-Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 43EA73A693; Mon, 15 Nov 2010 09:16:37 +0100 (CET) Original-Received: by delenn.lan (Postfix, from userid 1000) id 05F1C2C0313; Mon, 15 Nov 2010 09:16:36 +0100 (CET) In-Reply-To: (Noah Lavine's message of "Mon, 15 Nov 2010 01:18:55 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:11135 Archived-At: Noah Lavine writes: > Hello all, > > I encountered some behavior I didn't expect, and I'm not sure if it's > intended or not. The following code works fine: > > (use-modules (rnrs base)) > > However, the next two lines both give errors: > > (use-modules (rnrs base (6))) > (use-modules (rnrs base 6)) > That's to be expected -- `use-modules' has a different syntax than R6RS' `import'. So if you really want to include the version number, you should do either: (import (rnrs base (6))) or (use-modules ((rnrs base) #:version (6))) Cheers, Rotty -- Andreas Rottmann --