Changes

From Nordan Symposia
Jump to navigationJump to search
8 bytes removed ,  03:53, 19 August 2007
Line 80: Line 80:       −
mortal(X) :- man(X).
+
mortal(X) :- man(X).
man(socrates). </code>
+
man(socrates).  
    
This states that all men are mortal and that Socrates is a man. Now we can ask [[Prolog]] about Socrates.
 
This states that all men are mortal and that Socrates is a man. Now we can ask [[Prolog]] about Socrates.

Navigation menu