[m-rev.] trivial diff: fix bug #215

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Sep 5 14:49:43 AEST 2011


Branches: main, 11.07

Fix bug #215.

library/assoc_list.m:
 	Correct the description of assoc_list.filter/4.

Julien.

Index: library/assoc_list.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/assoc_list.m,v
retrieving revision 1.30
diff -u -r1.30 assoc_list.m
--- library/assoc_list.m	27 May 2011 07:54:55 -0000	1.30
+++ library/assoc_list.m	5 Sep 2011 04:48:04 -0000
@@ -117,8 +117,8 @@
  :- func assoc_list.negated_filter(pred(K)::in(pred(in) is semidet),
      assoc_list(K, V)::in) = (assoc_list(K, V)::out) is det.

-    % assoc_list.filter(Pred, List, FalseList) takes a closure with one
-    % input argument and for each member K - V of List X, calls the closure
+    % assoc_list.filter(Pred, List, TrueList, FalseList) takes a closure with
+    % one input argument and for each member K - V of List X, calls the closure
      % on the key. K - V is included in TrueList iff Pred(K) is true.
      % K - V is included in FalseList iff Pred(K) is false.
      %

--------------------------------------------------------------------------
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