[m-rev.] for review: Don't call the term being coerced the "input".

Peter Wang novalazy at gmail.com
Mon May 17 15:17:29 AEST 2021


doc/reference_manual.texi:
    Replace "input term/type/inst" with "coerce argument"
    or similar.

diff --git a/doc/reference_manual.texi b/doc/reference_manual.texi
index f15f47dc8..ae037c20b 100644
--- a/doc/reference_manual.texi
+++ b/doc/reference_manual.texi
@@ -7186,23 +7186,23 @@ other than a recursive type of the exact form @samp{base(B1, ..., Bn)}
 Type conversion expressions must also be mode-correct.
 Intuitively, conversion from a subtype to its supertype is safe,
 but a conversion from a supertype to one of its subtypes is safe only if
-the inst approximating the input term
+the inst approximating the term to be converted
 indicates that the result would also be valid in the subtype.
 
 Mode checking proceeds by simultaneously traversing
-the inst tree of the input term,
-the type tree of the input term,
+the inst tree of the @code{coerce} argument,
+the type tree of the @code{coerce} argument,
 and the type tree of the result term,
 and producing the inst tree of the result term
 if the conversion is valid.
 Let
 @itemize
 @item
- at var{InstX} be the current node in the input inst tree,
+ at var{InstX} be the current node in the @code{coerce} argument's inst tree,
 @item
 @var{InstY} be the current node in the result inst tree,
 @item
- at var{TypeX} be the current node in the input type tree,
+ at var{TypeX} be the current node in the @code{coerce} argument's type tree,
 @item
 @var{TypeY} be the current node in the result type tree,
 @item
-- 
2.30.0



More information about the reviews mailing list