home *** CD-ROM | disk | FTP | other *** search
Prolog Source | 1990-03-26 | 380 b | 17 lines |
- /*
- Copyright (c) 1986, 90 by Prolog Development Center
- */
-
- domains
- person = symbol
-
- predicates
- father(person) /* This person is a father */
- father(person, person) /* One person is the father of the other person */
-
- clauses
- father(Man) :-
- father(Man,_).
- father(adam, seth).
- father(abraham, isaac).