[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
PrologClause
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
PrologClause
(Prolog) Clause
The facts or a rules a program consist of.
predicates
determ isHead(). %A fact clause
clauses
isHead() IF
random(X),
X < 0.5 .
goal
isHead().
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
