So, on the train this morning, I had a moment of Satori. What's wrong
with doing what we think of as bitwise operations using the flexops
and adding a 'bitwise' context? So, a bitwise op becomes:

   bitwise ( $a | $b | $c & $d );

And the superposition will collapse in a 'mash everything together in
bitop fashion' way. Or it'll stay entangled until it knows whether
it's in numeric or string based context, but, once that is known,
it'll do the bitwise collapse.

Just a thought. Note that this doesn't preclude having bitwise ops as
well, but it does look like being a handy dandy method to hang off the
SuperposedCollection class (whatever it ends up being called).

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?

Reply via email to