This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: implementation of bit-string


"Robin Y. Millette" <millette@my-dejanews.com> writes:

> Hello,
> 
> I've searching your archive already, at least by title, and haven't
> found anything relevant to my quest yet. Could anyone point me to
> the source code of a bit-string, with efficient support for
> concatenation et cutting? It would be most appreciated, and I know
> scheme supports this. I just haven't been able to find the relevant
> section of the code...

Not sure about bitstrings, but bit-vectors were in Guile since before
it was written (i.e. they came from SCM). Check guile docs on uniform
vectors. Specifically, to make a bit vector of length 32, try

(make-uniform-vector 32 #f)

	Miro

-- 
I refuse to use .sig