in reply to Re: Re: Re: Nested Quantum::Superpositions
in thread Nested Quantum::Superpositions

Just a bit more of mind-bending: is there a solution the the equation: x = all(1,4)?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Nested Quantum::Superpositions
by Anonymous Monk on Nov 10, 2003 at 15:40 UTC
    Just a bit more mind-bending: is there a solution the the equation: x = all(1,4)?

    That isn't all that mind-bending actually:

    use Quantum::Superpositions; my $x = all(any(1,4),any(1,4)); #also: all(any(1,4),any(1,4)) if($x == all(1,4)){ print "Solved\n"; }