[m-rev.] trivial diff: fix description of counter.init/2

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Jun 14 16:24:59 AEST 2011


Branches: main

Fix a typo in some library documentation.

library/counter.m:
 	s/counter_init/counter\.init/

Julien.

Index: library/counter.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/counter.m,v
retrieving revision 1.7
diff -u -r1.7 counter.m
--- library/counter.m	19 Apr 2006 05:17:50 -0000	1.7
+++ library/counter.m	14 Jun 2011 06:23:20 -0000
@@ -25,7 +25,7 @@

  :- type counter.

-    % counter_init(N, Counter) returns a counter whose first allocation
+    % counter.init(N, Counter) returns a counter whose first allocation
      % will be the integer N.
      %
  :- pred counter.init(int::in, counter::out) is det.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list