cvs commit: fptools/libraries/base/Control/Monad/X Cont.hs
ContT.hs Error.hs ErrorT.hs Fix.hs Identity.hs Monads.hs Nondet.hs
NondetT.hs README Reader.hs ReaderT.hs Resume.hs ResumeT.hs State.hs
StateT.hs Trans.hs Transformers.hs Types.hs Utils.hs ...
diatchki@glass.cse.ogi.edu
diatchki@glass.cse.ogi.edu
Wed, 4 Jun 2003 17:49:46 -0700
diatchki 2003/06/04 17:49:46 PDT
Added files:
libraries/monads Makefile package.conf.in
libraries/monads/Unstable/Control/Monad All.hs Cont.hs
ContT.hs Error.hs
ErrorT.hs Identity.hs
Nondet.hs NondetT.hs
README Reader.hs
ReaderT.hs Resume.hs
ResumeT.hs State.hs
StateT.hs Trans.hs
Transformers.hs
Writer.hs WriterT.hs
libraries/monads/Unstable/Control/Monad/Private README
Utils.hs
libraries/monads/Unstable/Control/Monad/laws Prop.hs Reader.hs
Writer.hs
libraries/monads/Unstable/Control/Monad/tests ContTests.hs
Error.hs
ExceptionTests.hs
Nondet.hs
Reader.hs
ReaderNondet.hs
ResumeReader.hs
State.hs
Writer.hs
testNondet.hs
libraries/monads/mk boilerplate.mk target.mk version.mk
Removed files:
libraries/base/Control/Monad/X Cont.hs ContT.hs Error.hs
ErrorT.hs Fix.hs Identity.hs
Monads.hs Nondet.hs NondetT.hs
README Reader.hs ReaderT.hs
Resume.hs ResumeT.hs State.hs
StateT.hs Trans.hs
Transformers.hs Types.hs
Utils.hs Writer.hs WriterT.hs
libraries/base/Control/Monad/X/laws Prop.hs Reader.hs
Writer.hs
libraries/base/Control/Monad/X/tests ContTests.hs Error.hs
ExceptionTests.hs
Nondet.hs Reader.hs
ReaderNondet.hs State.hs
Writer.hs testNondet.hs
Log:
a huge commit.
overall changes
1. moved the new monad transformer library to its own branch as simon suggested
2. attempted to integrate it with the make system, which mostly works,
except "make install" tries to add the package _before_ copying the library files to
their location. i don't understand what is going wrong, could someone take a look?
library specific
3. the library is now using the standard "MonadFix" class as sugested by ross.
the instances are defined in each transformer file.
4. moved "Utils.hs" file to a "Private" directory to indicate that programs should not use it
5. removed the file "Types.hs", now the type for each transformer is defined in the relevant file.
6. added a few tests