Improved term_to_list's docblock
This commit is contained in:
parent
aba2db8bde
commit
419aa3a46f
@ -339,10 +339,8 @@ power_to_canon(T, T^1) :-
|
|||||||
|
|
||||||
%% term_to_list(?T, ?List) is semidet
|
%% term_to_list(?T, ?List) is semidet
|
||||||
%
|
%
|
||||||
% Converts a term to a list and vice versa.
|
% Converts a term to a list of its monomials and vice versa.
|
||||||
% A term is multiplication of a number or a power
|
% Can verify if term and monomials list are compatible.
|
||||||
% and another term.
|
|
||||||
% Can verify if term and list are compatible.
|
|
||||||
%
|
%
|
||||||
term_to_list(L * N, [N | TS]) :-
|
term_to_list(L * N, [N | TS]) :-
|
||||||
number(N),
|
number(N),
|
||||||
|
Reference in New Issue
Block a user