trivial diff: fix SICStus syntax error

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jan 6 04:04:25 AEDT 1999


Estimated hours taken: 0.1

library/std_util.m:
	Add parentheses to use of `some' in type declaration for univ_value/1,
	to avoid syntax error for SICStus Prolog.

Index: library/std_util.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/std_util.m,v
retrieving revision 1.138
diff -u -r1.138 std_util.m
--- std_util.m	1998/12/15 00:21:58	1.138
+++ std_util.m	1999/01/05 17:00:23
@@ -84,7 +84,7 @@
 	%
 	% Warning: support for existential types is still experimental.
 	%
-:- some [T] func univ_value(univ) = T.
+:- some([T], func univ_value(univ) = T).
 
 %-----------------------------------------------------------------------------%
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list