Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: [Mutability bitset] Puzzle (*very hard*!)

From: lmecir::mbox::vol::cz at: 29-Sep-2006 17:56

Gregg Irwin napsal(a):
> Hi Ladislav, > >>> LM> *Is there a way how to discern equal bitsets that don't reference >>> LM> "identical" underlying bitset?* >>> >>> My first instinct would be to toggle a bit in one bitset, compare >>> them, then toggle it back. >>> >>> > LM> yes, it was easy, as it looks. The only hard part may be, if the > LM> bitsets are a bit "nonstandard", like e.g. #[bitset! #{00}] > > You should always be able to use an integer! value with > FIND/INSERT/REMOVE, to toggle the low bit. >
Does REMOVE work for you? - it does not for me here :-(