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: imported module (srfi srfi-60) overrides core binding Date: Mon, 28 Jun 2010 15:03:42 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277730097 30466 80.91.229.12 (28 Jun 2010 13:01:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2010 13:01:37 +0000 (UTC) Cc: guile-devel@gnu.org To: Bruce Korb Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jun 28 15:01:34 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 1OTDxo-0000Wc-LI for guile-devel@m.gmane.org; Mon, 28 Jun 2010 15:01:28 +0200 Original-Received: from localhost ([127.0.0.1]:52994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTDxn-0005LL-TB for guile-devel@m.gmane.org; Mon, 28 Jun 2010 09:01:27 -0400 Original-Received: from [140.186.70.92] (port=48393 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTDxc-0005JT-KU for guile-devel@gnu.org; Mon, 28 Jun 2010 09:01:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTDxb-0001X5-1B for guile-devel@gnu.org; Mon, 28 Jun 2010 09:01:16 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:50095 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTDxa-0001Wz-SV for guile-devel@gnu.org; Mon, 28 Jun 2010 09:01:15 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 2B016BF432; Mon, 28 Jun 2010 09:01:14 -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=A5GKQfeO+EbZ9dPNcTy21I+vYVk=; b=Xw7cxK TyDaxujdyqUhgzZFniwenNuFjU/FfC266uxXDhUQSzEqG2f84wSzG7M+VCYhHzIZ M3gP1T8qkE68FjREeP+AsuFfO4KIPDfj9xmbn1xF99TXT7uuRmWXXFEXW2j7MjJo T6EAqc+jRSuzbPV703XbTAELt7bAGD0Sxm7l0= 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=DWtnGWuIrfZPGbAyG8ORqK31WDd2iI7A Y5VTviOGZ0h5h0o5zVLqBG2pENql6pFnWZjWH0zth/Fm5vjQw35HnXOUTGkMLTVs d88g0ZIkvnQ1kIPFGMJJ5PbbyPhwAADYwXEzUfUnMCvzOHyPBk6mN5kJ4PYJ9xa2 sq3LalTpel8= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 15F35BF431; Mon, 28 Jun 2010 09:01:13 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [83.202.24.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 1F612BF430; Mon, 28 Jun 2010 09:01:10 -0400 (EDT) In-Reply-To: (Bruce Korb's message of "Thu, 24 Jun 2010 14:02:55 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 3ABDAB5C-82B5-11DF-BA94-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:10576 Archived-At: Hi Bruce, On Thu 24 Jun 2010 23:02, Bruce Korb writes: > I am getting this error message: > > WARNING: (guile-user): imported module (srfi srfi-60) overrides core > binding `bit-count' > > What is this trying to say? I just need the arithmetic-shift > function. Thank you. It's saying that srfi-60 exports bit-count, but Guile already defined bit-count. It then replaces the core definition (in your current module) and proceeds. It's just a warning, albeit a confused one: http://article.gmane.org/gmane.lisp.guile.devel/10525. Fixed in git. However `ash' is available in the default environment (see the manual), and I think it optimizes better. Alternately you could: (use-modules ((srfi srfi-60) #:select (arithmetic-shift))) or #:use-module ((srfi srfi-60) #:select (arithmetic-shift)) in a define-module form. And -- http://wingolog.org/