Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Re: Re: TIMTOWTDI and other languages

by TheDamian (Priest)
on Apr 30, 2002 at 04:32 UTC ( #162994=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: TIMTOWTDI and other languages
in thread TIMTOWTDI and other languages

@intersection = @alphas =~ @betas;
Does anyone know if this will actually work?

I seriously doubt it. Larry has never even hinted that =~ will operate like that in a list context.

Of course, if superpositions do get in then this:

@intersection = eigenstates(any @alphas =~ any @betas);

would work.

And it's possible that the eigenstates operator is superfluous; that a superposition in a list context just yields its eigenstates automatically. In which case you only need this:

@intersection = any @alphas =~ any @betas;

Comment on Re: Re: Re: TIMTOWTDI and other languages
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://162994]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-10-13 07:52 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (296 votes), past polls