Submitted by Ulrich Neumerkel
The domain error for stream-, close-, read- and write-options (7.10.2.11, 7.10.2.12, 7.10.3, 7.10.4) listed in 8.11.5.3 i, 8.11.6.3 e, 8.14.1.3 e, 8.14.2.3 e is satisfied also for cases where only an instantiation error (7.12.2 a) fits.
Solution: Add further conditions for the instantiation errors and modify mentioned error conditions for domain errors (C14). Add as note the general principles for handling errors in options (C9). Allow explicitly extensions to options and specify the error conditions (C1). Add examples (C16).
Submitted by Ulrich Neumerkel
Solution: Add optional layout text sequence in grammar (C2).
Submitted by Per Mildner
A variable as a goal always unifies with ^(_, Goal)
, and
thus there is an infinite loop/no defined result.
Solution: Do not unify but only test (C3).
call(G)
does not convert
the term to a goal.
Submitted by Jan Burse
Solution: Add conversion to example (C4).
variable_names/1
, singletons/1
the
order is left undefined, for variables/1
output-unification is left out.
Submitted by Ulrich Neumerkel
Solution: Specify orders, add unification (C5).
variable_names/1
but the corresponding
write-option is missing.
Submitted by Ulrich Neumerkel
Solution: Add option (C6), add option to writing a term (C7 a1).
Submitted by Ulrich Neumerkel and Feliks Kluzniak
Writing a term (7.10.5) leaves out
[:-,-]
,
-{a}
,
a :- b,c
,
-
(1)
,
'$VAR'(0)
as A
with effective
write-option numbervars(true)
, and
Term
which is a single variable and not the entire term written.
Solution: Modify 7.10.5 (C7).
float
, superfluous type
character_code_list
, missing comma.
Submitted by Joachim Schimpf
Solution: (C8).
max_arity
has a value unbounded
.
Submitted by Jan Burse
Solution: Add case for unbounded flag (C10).
Submitted by Jan Burse
Solution: C11.
Submitted by Ulrich Neumerkel
Solution: C12
set_ouput/1
misses
success.
Submitted by Ulrich Neumerkel
Solution: C13.
Submitted by Ulrich Neumerkel
The reading process defined in 8.14.1.1 specifies in step k that parsing should be performed using a non-terminal for tokens (6.4). However, parsing needs the full syntax in (6.2.2) otherwise no terms are constructed.
Solution: C15.
Submitted by Mats Carlsson
With an effective write-option quoted(true)
, dot as atom, functor, and operator should always be written the
same way, that is, using quotes, because there is a single place which
is used by all three to determine whether or not the atom should be
quoted (7.10.5 d) and because "(2) the sequence of characters forming
the atom could not be input as a valid atom without quoting". Thus,
the example in 8.14.2.4 should be changed to include quotes.
Solution: C16.
Submitted by Joachim Schimpf
In the fourth example of 8.17.1.4 a domain flag
is used,
but there is only the domain prolog_flag
.
Solution: Replace domain (C17).
Submitted by Ulrich Neumerkel
According to 9.3.1.3 c, X is -1.0** (1+0)
would be an
error, while X is -1.0**1
succeeds.
Solution: C18.
Submitted by Per Mildner and Joachim Schimpf
The definition of integer power is too restrictive.
E.g.,
X is -1 ^ -2
produces an error, yet it should be the
integer -1
.
Solution: C19.