FIXED: portray_clause/1 for numbers
This commit is contained in:
@@ -580,6 +580,7 @@ portray_clause_(Term) -->
|
|||||||
literal(Lit, VNs) -->
|
literal(Lit, VNs) -->
|
||||||
{ write_term_to_chars(Lit, [quoted(true),variable_names(VNs),double_quotes(true)], Ls) },
|
{ write_term_to_chars(Lit, [quoted(true),variable_names(VNs),double_quotes(true)], Ls) },
|
||||||
( { nonvar(Lit),
|
( { nonvar(Lit),
|
||||||
|
\+ number(Lit),
|
||||||
functor(Lit, F, A),
|
functor(Lit, F, A),
|
||||||
current_op(Pri, _, F),
|
current_op(Pri, _, F),
|
||||||
( A =:= 0
|
( A =:= 0
|
||||||
|
|||||||
Reference in New Issue
Block a user