[plt-scheme] bitwise operations on scheme/foreign _bitmask

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Nov 15 15:26:57 EST 2009

On Nov 15, Anye Li wrote:
> 
> If that's the case, I see no reason to use _bitmask, other than to
> get a nice symbolic representation of a bitmask when a foreign
> function returns one.  That's less important to me than actually
> being able to manipulate the bitmask conveniently and efficiently.

The purpose of `_bitmask' is to provide a convenient "list of symbols"
interface to a numeric value.  If you prefer to deal with just the
numbers, then you should use a plain `_int'.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.