The Mercury Language Reference Manual
April, 1996
Fergus Henderson
Thomas Conway
Zoltan Somogyi
David Jeffery
Introduction
Syntax
Syntax overview
Tokens
Terms
Items
Declarations
Facts
Rules
Goals
DCG-rules
DCG-goals
Data-terms
Implicit quantification
Elimination of double negation
Types
Modes
Unique modes
Destructive update
Backtrackable destructive update
Limitations of the current implementation
Determinism
Determinism categories
Determinism checking and inference
Replacing compile-time checking with run-time checking
Interfacing nondeterministic code with the real world
Committed choice nondeterminism
Higher-order programming
Creating higher-order terms
Calling higher-order terms
Higher-order modes
Modules
Semantics
Pragmas
C interface
Calling C code
Including C headers
Including C code
Linking with C object files
Passing data to and from C
Using C pointers
Inlining
Obsolescence
Source file name
This document was generated using the
texi2html
translator version 1.31.