[m-rev.] diff: fix minor documentation problems
Julien Fischer
jfischer at opturion.com
Thu Apr 9 11:44:20 AEST 2015
Fix minor documentation problems.
library/set_ordlist.m:
The arguments in the descriptive comment for delete/3 were
in the wrong order.
vim/doc/mercury.txt:
Fix a typo: s/coneal/conceal/.
Julien.
diff --git a/library/set_ordlist.m b/library/set_ordlist.m
index 10116a4..96356f0 100644
--- a/library/set_ordlist.m
+++ b/library/set_ordlist.m
@@ -128,7 +128,7 @@
set_ordlist(T)::in, set_ordlist(T)::out) is det.
:- func insert_list(set_ordlist(T), list(T)) = set_ordlist(T).
- % `delete(Set0, X, Set)' is true iff `Set' is the
+ % `delete(X, Set0, Set)' is true iff `Set' is the
% relative complement of `Set0' and the set containing only `X', i.e.
% if `Set' is the set which contains all the elements of `Set0'
% except `X'.
diff --git a/vim/doc/mercury.txt b/vim/doc/mercury.txt
index d3b0765..13fa5d3 100644
--- a/vim/doc/mercury.txt
+++ b/vim/doc/mercury.txt
@@ -133,7 +133,7 @@ such as `' or ``'': >
If you use Vim 7.3+ with conceal enabled but do not want any concealing
of operators, use: >
- let mercury_no_coneal = 1
+ let mercury_no_conceal = 1
<
To enable concealing for characters which require a good Unicode font
and might be "too much" for some users, define: >
More information about the reviews
mailing list