Commit Graph

13 Commits

Author SHA1 Message Date
Simon Taylor
dedcf29a30 Make the function versions of predicates appear in the
Estimated hours taken: 2.5

library/*.m
	Make the function versions of predicates appear in the
	Mercury Library Reference Manual.
2000-11-12 08:51:39 +00:00
Fergus Henderson
6a6e5495ed Ralph Becket <rwab1@cam.sri.com>'s changes to add functions for
Estimated hours taken: 6

library/pqueue.m:
library/assoc_list.m:
library/getopt.m:
library/bag.m:
library/bimap.m:
library/bintree.m:
library/bintree_set.m:
library/bt_array.m:
library/eqvclass.m:
library/graph.m:
library/group.m:
library/queue.m:
library/rbtree.m:
library/stack.m:
library/term.m:
library/varset.m:
library/tree234.m:
library/relation.m:
library/set.m:
library/set_bbbtree.m:
library/set_ordlist.m:
library/set_unordlist.m:
	Ralph Becket <rwab1@cam.sri.com>'s changes to add functions for
	the remaining output det predicates in a number of modules in the
	standard library.  Basically, for each

		:- pred f(in, ..., in, out) is det.

	he has added the declaration

		:- func f(in, ..., in) = out.

	and definition

		f(X1, ..., Xn) = Y :-
			f(X1, ..., Xn, Y).

	The changes were made using a mostly automatic process.
1999-10-30 04:16:13 +00:00
Fergus Henderson
7cb525fde3 Undo Zoltan's bogus update of all the copyright dates.
Estimated hours taken: 0.5

library/*.m:
compiler/*.m:
	Undo Zoltan's bogus update of all the copyright dates.
	The dates in the copyright header should reflect the years
	in which the file was modified (and no, changes to the
	copyright header itself don't count as modifications).
1998-01-23 12:33:43 +00:00
Zoltan Somogyi
9ae7acc593 Update all the copyright dates for 1998.
Estimated hours taken: 0.5

library/*.m:
	Update all the copyright dates for 1998.
1998-01-13 10:01:32 +00:00
Fergus Henderson
04b720630b Update the copyright messages so that (a) they contain the correct years
and (b) they say "Copyright (C) ... _The_ University of Melbourne".
1997-07-27 15:09:59 +00:00
Tyson Dowd
cbcb23d17b Enable --warn-interface-imports by default.
Estimated hours taken: 3

Enable --warn-interface-imports by default. This was turned off while
list and term were defined in mercury_builtin.m, since it caused many
warnings.

Fix all the unused interface imports that have been added since then.

compiler/options.m:
	Enable --warn-interface-imports by default.

compiler/module_qual.m:
	Fix formatting inconsistencies with module names in warning
	messages. (".m" was not appended to module names if there was
	only one module).

compiler/*.m:
library/*.m:
tests/invalid/type_loop.m:
tests/warnings/*.m:
	Remove usused interface imports, or move them into
	implementation (mostly bool, list and std_util).
1997-05-21 02:16:53 +00:00
Zoltan Somogyi
3d06567878 Add some new predicates for the excess assignment pass.
varset:
	Add some new predicates for the excess assignment pass.

std_util, assoc_list:
	Move predicates for associative lists to a new module.

*.m:
	Import assoc_list.
1995-10-27 09:40:19 +00:00
Fergus Henderson
fa5226ee67 Improve the documentation.
library/*.m:
	Improve the documentation.
	Add a "Stability: low/medium/high" comment to all modules,
	which describes the stability of the interface to that module.

ops.m:
	Add `:' as an infix operator.

require.m:
	Implement require/1, since higher-order predicates now work.

term.m:
	Use the type `comparison_result' from mercury_builtin.m,
	rather than defining an identical type `comparison'.
1995-10-05 11:31:52 +00:00
Fergus Henderson
624bbd1fc6 Fix some typos in the comments.
pqueue.m:
	Fix some typos in the comments.
1995-07-31 03:51:30 +00:00
Fergus Henderson
93a755d563 Add copyright notices.
library/*:
	Add copyright notices.
1995-03-28 16:19:34 +00:00
Fergus Henderson
81175cbf10 Fix naming conventions (delete/remove).
bintree_set.nl:
	Fix naming conventions (delete/remove).
	(XXX should fix set.nl too!)

graph.nl, pqueue.nl, random.nl, bintree_set.nl:
	Add missing determinism annotations.

io.nl, io.nu.nl:
	Add io__call_system.

mercury_compile.nl:
	Call a script `mercury_update_interface' to update the
	interface files without stuffing up the timestamps.
	Output a `<Module>.date' timestamp file.

	Also, eliminate the circular interface dependency warning,
	since it was giving false hits on circular implementation
	dependencies.

GNUMakefile, Makefile.common, Makefile.mercury:
	Fix a bug or two.
	Update the interface files intelligently.
1994-06-21 17:22:46 +00:00
Thomas Conway
be3f5523df Added more comments
pqueue.nl:
	Added more comments
1994-04-26 02:08:09 +00:00
Thomas Conway
b22460e175 A priority queue ADT.
pqueue.nl:
	A priority queue ADT.
	Needs more comments, and probably relies too much on destructive
	update for efficiency.
1994-04-25 23:55:41 +00:00