[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
PrologDomains
Compared to C++, it is similar to a typesafe typedef.
There are several built-in standard domains:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
PrologDomains
(Prolog) domains
Prolog keyword specifying specific domains used.
DOMAINS
title = symbol
author = symbol
PREDICATES
isWrittenBy(title,author)
CLAUSES
isWrittenBy("Winnie the Pooh","AA Milne").
GOAL
isWrittenBy("Winnie the Pooh",Author).
Compared to C++, it is similar to a typesafe typedef.
There are several built-in standard domains:
- Basic Standard Domains
- Integral Standard Domains
- Binary Domain
- ?binary
- Specially Handled Predefined Domains
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
