unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* logical shift operators in guile?
@ 2010-06-09  4:04 steve tell
  2010-06-09 22:45 ` Andy Wingo
  2010-06-10 12:32 ` Thien-Thi Nguyen
  0 siblings, 2 replies; 4+ messages in thread
From: steve tell @ 2010-06-09  4:04 UTC (permalink / raw)
  To: Guile Mailing List



Does guile (1.8.x, or any version) have the integer logical shift 
operators, like C's << and >> ?


While searching for those, I realized that what I was trying to do was 
represent small sets of booleans as the bits of an integer... and that 
somthing similar could be done in a more scheme-like fashion with 
bitvectors.

But is there any way to copy the contents of bitvector a to another 
bitvector b of the same size, short of iterating over the elements?


thanks,
Steve






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

end of thread, other threads:[~2010-06-10 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09  4:04 logical shift operators in guile? steve tell
2010-06-09 22:45 ` Andy Wingo
2010-06-10  3:38   ` dsmich
2010-06-10 12:32 ` Thien-Thi Nguyen

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).