Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Who's a thief?

by jarich (Curate)
on Jul 05, 2002 at 11:01 UTC ( #179602=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    steals(PERP, STUFF) :- 
                 ....
    ...
          not(knows(PERP,VICTIM)).
    knows(badguy,merlyn).
    owns(merlyn,gold).
    
  2. or download this
    ?- steals(badguy,X).
    
    X = rubies
    
    Yes
    
  3. or download this
    thief(merlyn).
    ?- steals(merlyn,X).
    
    Yes
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-10-23 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls