unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* guile 3.0.7: bitvector-copy not found
@ 2024-01-15  7:25 Schaible, Marcel
  2024-01-15  7:39 ` tomas
  2024-01-21 23:55 ` M
  0 siblings, 2 replies; 4+ messages in thread
From: Schaible, Marcel @ 2024-01-15  7:25 UTC (permalink / raw)
  To: guile-user@gnu.org

Hi,

I am Guile/Scheme newbie and trying to use the function bitvector-copy.

I am getting with Guile 3.0.7 the following error:

(define bv (bitvector-copy #*11000010))
;;; <stdin>:1:12: warning: possibly unbound variable `bitvector-copy'
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: bitvector-copy

The snippet is from the Guile Testsuite.

I greatly appreciate your help.

Marcel

P.S.: I just recognized how fast time passes by. Ludo we met at the GHM 2017 in Knüllwald and now I find the time to start with guile ;-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile 3.0.7: bitvector-copy not found
  2024-01-15  7:25 guile 3.0.7: bitvector-copy not found Schaible, Marcel
@ 2024-01-15  7:39 ` tomas
  2024-01-21 23:55 ` M
  1 sibling, 0 replies; 4+ messages in thread
From: tomas @ 2024-01-15  7:39 UTC (permalink / raw)
  To: Schaible, Marcel; +Cc: guile-user@gnu.org

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

On Mon, Jan 15, 2024 at 07:25:37AM +0000, Schaible, Marcel wrote:
> Hi,
> 
> I am Guile/Scheme newbie and trying to use the function bitvector-copy.
> 
> I am getting with Guile 3.0.7 the following error:
> 
> (define bv (bitvector-copy #*11000010))
> ;;; <stdin>:1:12: warning: possibly unbound variable `bitvector-copy'
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Unbound variable: bitvector-copy

Hm. Just a very quick look at the repo, so I might be totally off,
but it seems bitvector-copy appeared between 3.0.7 and 3.0.8 (commit
d70c1dbeb).

Perhaps you need a newer version?

On mine (around 3.0.9) there is such a function.

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: guile 3.0.7: bitvector-copy not found
  2024-01-15  7:25 guile 3.0.7: bitvector-copy not found Schaible, Marcel
  2024-01-15  7:39 ` tomas
@ 2024-01-21 23:55 ` M
  2024-01-22  5:57   ` tomas
  1 sibling, 1 reply; 4+ messages in thread
From: M @ 2024-01-21 23:55 UTC (permalink / raw)
  To: Schaible, Marcel, guile-user@gnu.org

IIRC it’s not in the (guile) module, you need to import the appropriate module (I don’t recall which one).



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: guile 3.0.7: bitvector-copy not found
  2024-01-21 23:55 ` M
@ 2024-01-22  5:57   ` tomas
  0 siblings, 0 replies; 4+ messages in thread
From: tomas @ 2024-01-22  5:57 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

On Mon, Jan 22, 2024 at 12:55:24AM +0100, M wrote:
> IIRC it’s not in the (guile) module, you need to import the appropriate module (I don’t recall which one).

On 3.0.9 it is.

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-22  5:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15  7:25 guile 3.0.7: bitvector-copy not found Schaible, Marcel
2024-01-15  7:39 ` tomas
2024-01-21 23:55 ` M
2024-01-22  5:57   ` tomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).