[m-rev.] trivial diff: avoid ambiguity warning in extras

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Sep 11 12:28:56 AEST 2006


Estimated hours taken: 0
Branches: main, release

extras/gator/genotype.m:
 	Avoid an ambiguity warning when intermodule-optimization is
 	enabled.

Julien.

Index: genotype.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/extras/gator/genotype.m,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 genotype.m
--- genotype.m	13 Feb 2006 01:42:02 -0000	1.1.1.1
+++ genotype.m	11 Sep 2006 02:26:58 -0000
@@ -237,7 +237,7 @@
  	io.open_output(Path, Result, !IO),
  	(
  		Result = ok(Stream),
-		Strings = map(genotype_to_string, Genotypes),
+		Strings = list.map(genotype_to_string, Genotypes),
  		io.write_list(Stream, Strings, "\n", io.write_string(Stream), !IO),
  		io.nl(Stream, !IO),
  		io.close_output(Stream, !IO)

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