Download SICStus Prolog Release Notes

Transcript
Chapter 13: Revision History
63
13.19 Changes Introduced in Version 4.2.3
Please note: Version 4.2.2 was never made generally available, so if you are upgrading from
4.2.1, see also Section 13.18 [4.2.2 Changes], page 61. In particular, version 4.2.2 introduced
support for 64-bit Windows.
Version 4.2.3 introduces support for Mac OS X 10.8 in addition to some new features and
bug fixes. See Section 13.16 [4.2.0 Changes], page 56 for changes introduced in SICStus
Prolog 4.2.
13.19.1 New Features
• ZINC:
− Now compatible with Version 1.6 of the G12 MiniZinc distribution.
− The
options fzn_file(File ), ozn_file(File ), optimise(Bool ), optimize(Bool )
are new.
− Solutions are printed with solns2out.
13.19.2 Bugs Fixed
• predicate_property/2 with nonvar arguments would succeed nondeterminately.
• ensure_loaded/1 would keep reloading non-module ‘.po’ file if compile-time module
was different from load-time module.
• Work around bugs in OS X 10.8 that affected SICStus I/O. This change may also
work around bugs in Linux that could cause SICStus to hang, especially when closing
streams.
• Error handling bug in phrase/[2,3].
• On Windows, SICStus executables would sometimes not start if put at the root of a
disk.
• CLPFD:
− Solutions were lost in interaction with nondet suspended goals.
− cumulative/2: holes in domains could cause wrong answers.
− minimum/2, maximum/2: some data was not protected from garbage collection.
ZINC:
− I/O streams could be left open upon errors.
− viz annotations don’t cause parse errors any more.
− Don’t obfuscate error messages from mzn2fzn.
− Architecture dependent default integer bounds.
• library(types): The type tests for list and proper_list now fail for cyclic lists.
Previously, they did not terminate.
13.19.3 Other Changes
• The built-in predicate sort/2 is up to twice as fast compared to previous releases.
• The built-in predicates sort/2 and keysort/2 now terminate, with an error, if the
first argument is a cyclic list.