Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: For discussion: operator attributes - associativity, chainity and ability to short-circuit

by Don Coyote (Hermit)
on Jan 29, 2021 at 20:57 UTC ( [id://11127661]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -T -w
    
    ...
           1 < 2   -> 1
           2 < 2   -> 0
           3 < 2   -> 0
    
  2. or download this
    ($kappa,$mu) = (0,2);
    print "Is $kappa lesser than $mu ?:\n"; 
    ...
      $kappa < $mu -> boolean context
           0 < 2   ->  1
    Where is my table?
    
  3. or download this
    ($kappa,$mu) = (0,2);
    
    ...
           1 < 2    -> 1          -> $kappa: 1
           2 < 2    -> 0          -> $mu:    2
           3 < 2    -> 0          -> $mu:    2
    
  4. or download this
    while( $kappa < $mu  ){
    
    $ret_value = $kappa
    
    }
    
  5. or download this
    print qq{\n};
    
    ...
    __END__
    $kappa < $mu -> boolean -> value we ask perl to return
           0 < 15   -> 1          -> $kappa: 0
    
  6. or download this
    print qq{\n};
    
    ...
    __END__
    $kappa < $mu -> boolean -> value we ask perl to return
          16 < 15   -> 0          -> $mu:    15
    
  7. or download this
    
    # An approach to coding the proof for Distribution rule
    ...
    $lhs:86  = $kappa:81 + $mu:16
    $rhs:86  = $kappa:81 + $mu:16
    Evaluation of relation succeeded
    
  8. or download this
    print qq{\nAn approach to the proof of the Distribution Rule for\n};
    print qq{Summation and Union over the Natural Realm wrt MF(C):155 P.NJ
    +W\n};
    ...
    print "\$rhs:$rhs  = \$kappa:$kappa + \$mu:$mu\n";
    print "Evaluation of relation ", $lhs == $rhs ? 'succeeded' : 'failed'
    +; 
    print qq{\n\n};
    
  9. or download this
    An approach to the proof of the Distribution Rule for
    Summation and Union over the Natural Realm wrt MF(C):155 P.NJW
    ...
    $lhs:43047346  = $kappa:43046721 + $mu:65536
    $rhs:43047346  = $kappa:43046721 + $mu:65536
    Evaluation of relation succeeded
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found