In addition to several bug fixes, the 2.1 versions provide some new
features:
- setarg/3
A new predicate setarg/3
for extra-logical (destructive) assignment to arguments of terms is
provided.
- Modified keysort/2
keysort/2
is now stable with regard to multiple values on the same key. Makes this
predicate compatible with SICStus and Quintus.
- Modified grammar rule expansion
DCG translation of free variables now calls phrase/3,
which has been changed slightly to deal with `un-parsing'. Modification
is probably not complete, but it fixes some problems encountered by
Michael Böhlen.
- Exception handling
The top of the runtime stack are automatically dumped on floating point
exceptions.
- Foreign interface
Added facilities to allow for embedding SWI-Prolog in C applications.