in reply to Re: Re: Useful uses of Quantum::Superpositions?
in thread Useful uses of Quantum::Superpositions?
That is exactly what any() does. It superimposes all of its values into a single scalar and operations on it touch all values. So if you use it in a logical operation like numeric equality - a disjunction has a true value if any of the potential operations have a true value. The point to making this a core feature is that it is syntactically easier to say things like $foo == any( $bar, $baz ..... ). Or my favorite - do the same thing for the m operator.
You'll find junctions in Apocalypse 4 though I gather its actualy more of an operator thing which is apocalypse 3. *shrug*.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Useful uses of Quantum::Superpositions?
by feanor_269 (Beadle) on Apr 08, 2003 at 16:51 UTC | |
by diotalevi (Canon) on Apr 08, 2003 at 17:06 UTC | |
by Mr. Muskrat (Canon) on Apr 08, 2003 at 17:17 UTC | |
by feanor_269 (Beadle) on Apr 09, 2003 at 19:40 UTC | |
by diotalevi (Canon) on Apr 09, 2003 at 19:46 UTC | |
by Mr. Muskrat (Canon) on Apr 09, 2003 at 19:46 UTC |