for review: new mode for uniq_array__to_list

Fergus Henderson fjh at cs.mu.oz.au
Sat Apr 5 16:45:27 AEST 1997


library/uniq_array.m:
	Add a missing mode for `uniq_array__to_list'.
	Previously there was a `ui' mode, but no `in' mode.

Index: uniq_array.m
===================================================================
RCS file: /home/staff/zs/imp/mercury/library/uniq_array.m,v
retrieving revision 1.17
diff -u -r1.17 uniq_array.m
--- uniq_array.m	1997/03/10 03:46:46	1.17
+++ uniq_array.m	1997/04/05 06:40:59
@@ -129,6 +129,7 @@
 	% occurred in the uniq_array.
 :- pred uniq_array__to_list(uniq_array(T), list(T)).
 :- mode uniq_array__to_list(uniq_array_ui, out) is det.
+:- mode uniq_array__to_list(in, out) is det.
 
 	% uniq_array__fetch_items takes a uniq_array and a lower and upper
 	% index, and places those items in the uniq_array between these

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list