diff: package up extras/complex_numbers

Fergus Henderson fjh at cs.mu.OZ.AU
Sat May 30 22:09:48 AEST 1998


Some fixes to my change to use sub-modules to package up the modules in
extras/complex_numbers into a single module.

extras/complex_numbers/complex_numbers.m:
	I forgot to `cvs add' this file before committing my last change.

extras/complex_numbers/samples/fft.m:
	I forgot to change the `import_module' declaration here
	to import `complex_numbers:complex' instead of `complex'.

Index: extras/complex_numbers/complex_numbers.m
===================================================================
RCS file: complex_numbers.m
diff -N complex_numbers.m
--- /dev/null	Sat May 30 22:05:01 1998
+++ complex_numbers.m	Fri May 29 13:59:39 1998
@@ -0,0 +1,10 @@
+%---------------------------------------------------------------------------%
+% Copyright (C) 1997-1998 The University of Melbourne.
+% This file may only be copied under the terms of the GNU Library General
+% Public License - see the file COPYING.LIB in the Mercury distribution.
+%---------------------------------------------------------------------------%
+:- module complex_numbers.
+:- interface.
+:- include_module complex, imag.
+:- include_module complex_imag, imag_complex.
+:- include_module float_imag, imag_float.
Index: extras/complex_numbers/samples/fft.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/complex_numbers/samples/fft.m,v
retrieving revision 1.2
diff -u -r1.2 fft.m
--- fft.m	1997/09/11 22:08:42	1.2
+++ fft.m	1998/05/30 11:59:59
@@ -25,7 +25,7 @@
 %------------------------------------------------------------------------------%
 :- interface.
 
-:- import_module list, complex.
+:- import_module list, complex_numbers:complex.
 
 :- pred fft(list(complex), list(complex)).
 :- mode fft(in, out) is det.

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