From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: steve tell Newsgroups: gmane.lisp.guile.user Subject: logical shift operators in guile? Date: Wed, 9 Jun 2010 00:04:41 -0400 (EDT) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: dough.gmane.org 1276068091 6598 80.91.229.12 (9 Jun 2010 07:21:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 07:21:31 +0000 (UTC) To: Guile Mailing List Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jun 09 09:21:30 2010 connect(): No such file or directory Return-path: Envelope-to: guile-user@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 1OMFbL-0007Jv-7C for guile-user@m.gmane.org; Wed, 09 Jun 2010 09:21:29 +0200 Original-Received: from localhost ([127.0.0.1]:40358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMFZu-0001Qo-Qw for guile-user@m.gmane.org; Wed, 09 Jun 2010 03:19:58 -0400 Original-Received: from [140.186.70.92] (port=43638 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMCXY-00033S-Tl for guile-user@gnu.org; Wed, 09 Jun 2010 00:05:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMCXT-0007Xj-IM for guile-user@gnu.org; Wed, 09 Jun 2010 00:05:20 -0400 Original-Received: from gateway.telltronics.org ([66.93.240.80]:57581 helo=ariel.telltronics.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMCXT-0007Jp-7y for guile-user@gnu.org; Wed, 09 Jun 2010 00:05:15 -0400 Original-Received: from ariel.telltronics.org (ariel.telltronics.org [127.0.0.1]) by ariel.telltronics.org (8.13.4/8.13.4) with ESMTP id o5944fhd004119 for ; Wed, 9 Jun 2010 00:04:42 -0400 Original-Received: from localhost (tell@localhost) by ariel.telltronics.org (8.13.4/8.13.4/Submit) with ESMTP id o5944fAu004116 for ; Wed, 9 Jun 2010 00:04:41 -0400 X-Authentication-Warning: ariel.telltronics.org: tell owned process doing -bs X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Wed, 09 Jun 2010 03:17:59 -0400 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7856 Archived-At: 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