trivial diff: fix SICStus syntax error
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Feb 8 01:07:06 AEDT 1999
The right fix would be to disable all the Prolog support,
but that's a tad trickier, so this will do for now...
Estimated hours taken: 0.1
library/std_util.m:
Add parentheses to use of `some' in type declaration for has_type/2,
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.140
diff -u -r1.140 std_util.m
--- std_util.m 1999/01/28 11:46:23 1.140
+++ std_util.m 1999/02/07 14:04:34
@@ -235,7 +235,7 @@
%
% Warning: support for existential types is still experimental.
%
-:- some [T] pred has_type(T::unused, type_info::in) is det.
+:- some([T], pred has_type(T::unused, type_info::in) is det).
% type_name(Type) returns the name of the specified type
% (e.g. type_name(type_of([2,3])) = "list:list(int)").
--
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