Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by Russ (Deacon)
on Dec 05, 2003 at 18:27 UTC ( #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? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-05-29 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?