Hi Bruce,

On Thu 24 Jun 2010 23:02, Bruce Korb <[email protected]> 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/

Reply via email to