Your first Prolog session

2012-11-15

Your first Prolog session

To enter rules from the command line, type this :

[user].

This puts you in a mode where you can enter facts and rules. Otherwise you get this kind of message:

<>?- idiot(me).
ERROR: (user://2:121):
        Undefined procedure: idiot/1