Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: To Trinary or not to Ternary

by Russ (Deacon)
on Dec 05, 2003 at 18:27 UTC ( [id://312581]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: To Trinary or not to Ternary
in thread To Trinary or not to Ternary

Check out the <=> and cmp operators... :-)
  • Comment on Re: Re: Re: To Trinary or not to Ternary

Replies are listed 'Best First'.
Re: Re: Re: Re: To Trinary or not to Ternary
by eric256 (Parson) on Dec 05, 2003 at 18:59 UTC

    Those are just functions that return -1,0 or 1. Thats easy enough. I'm talking about control statements that can respond to suck input. if,unless,while...etc all respond to only a true and false and have two actions accordingling (continue looping, execute statment, etc). What I'm wondering is what does a trinary language look like in control statments, and what use is it realy? Of course I never saw the use of LISP so perhaps I'm too short sighted :-)


    ___________
    Eric Hodges

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-23 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found