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).
Estimated hours taken: 0.25
library/std_util.m:
Change the order of the constructors in the declaration of the
`maybe' type so that `no' compares less than `yes(T)'. The
concensus on the Haskell mailing list is that this is a more
intuitive ordering.
library/bool.m:
Change the order of the constructors in the declaration of the
`bool' type so that `no' compares less than `yes'. For
consistency with `maybe', and for consistency with C/C++.
Estimated hours taken: 1.5
Undo dylan's changes in the names of some library entities,
by applying the following sed script
s/term_atom/term__atom/g
s/term_string/term__string/g
s/term_integer/term__integer/g
s/term_float/term__float/g
s/term_context/term__context/g
s/term_functor/term__functor/g
s/term_variable/term__variable/g
s/_term__/_term_/g
s/std_util__bool_/bool__/g
to all the `.m' and `.pp' files in the compiler and library directories.
The reason for undoing these changes was to minimize incompatibilities
with 0.4 (and besides, the changes were not a really good idea in the first
place).
I also moved `bool' from std_util.m to a separate module.
The main reason for that change is to ensure that the `__' prefix is
only used when it genuinely represents a module qualifier.
(That's what dylan's changes were trying to acheive, but `term__'
does genuinely represent a module qualifier.)
library/bool.m:
New file, containing stuff previously in std_util.m.
library/*.m:
Apply sed script above;
where appropriate, add `bool' to the list of imported modules.