[m-rev.] trivial diff: fix typos in library documentation

Julien Fischer juliensf at cs.mu.OZ.AU
Thu Sep 29 04:46:29 AEST 2005


Estimated hours taken: 0
Branches: main

library/string.m:
	Fix some typos in the library documentation.

Julien.

Index: string.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/string.m,v
retrieving revision 1.239
diff -u -r1.239 string.m
--- string.m	22 Sep 2005 06:17:28 -0000	1.239
+++ string.m	28 Sep 2005 18:27:18 -0000
@@ -115,7 +115,7 @@
 :- mode string__char_to_string(in, uo) is det.
 :- mode string__char_to_string(out, in) is semidet.

-    % A synonyn for string.int_to_char/1.
+    % A synonym for string.int_to_char/1.
     %
 :- func string__from_char(char::in) = (string::uo) is det.

@@ -707,7 +707,7 @@
     % format_table(Columns, Separator) = Table
     % format_table/2 takes a list of columns and a column separator and returns
     % a formatted table, where each field in each column has been aligned
-    % and fields are seperated with Separator. A newline character is inserted
+    % and fields are separated with Separator. A newline character is inserted
     % between each row. If the columns are not all the same length then
     % an exception is thrown.
     %
@@ -739,7 +739,7 @@
     % word_wrap/3 is like word_wrap/2, except that words that need to be broken
     % up over multiple lines have WordSeperator inserted between each piece.
     % If the length of WordSeperator is greater that or equal to N, then
-    % no seperator is used.
+    % no separator is used.
     %
 :- func string__word_wrap(string, int, string) = string.


--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list