[cvs-nhc98] Re-organise nhc98 to make it ready to use hierarchical lib
Malcolm Wallace
malcolm@sparud.net
Mon, 7 Oct 2002 16:05:48 +0200 (CEST)
malcolm: Mon Oct 7 16:05:48 CEST 2002
Update of /usr/src/master/nhc/src/prelude/Binary
In directory hinken:/tmp/cvs-serv7400/Binary
Modified Files:
AlignBin.gc Bin.hs BinHandle.gc BinIOMode.gc BinLocation.gc
BinPtr.gc Binary.hs CBinary.hs ClearBits.gc CloseBin.gc
CompareBin.gc CopyBin.gc CopyBits.gc CopyBytes.gc DirectGet.gc
DirectPut.gc EndBin.gc EqualsBin.gc FreezeBin.gc GetAt.hs
GetBits.gc GetBitsF.gc GetFAt.hs Instances.hs IsEOFBin.gc
LeftLeft.hs NewCBinary.hs OpenBin.gc PutAt.hs PutAtEnd.hs
PutBits.gc SeekBin.gc SizeBin.gc SizedBin.hs SizeofBin.gc
SkipBits.gc StdMem.gc TellBin.gc oldCBinary.hs
Log Message:
Re-organise nhc98 to make it ready to use hierarchical libraries.
In this significant internal change, we rename some of the
compiler-specific implementations of Prelude types (e.g. IO) and
non-standard auxiliary functions (e.g. _apply1) to reside in the
NHC.Internal module. This new module allows programmer access to
implementation details, without polluting the Prelude.
Also, the non-Haskell'98 libraries supplied with nhc98 are all renamed
to hierarchical variants within the NHC namespace. e.g.
PackedString -> NHC.PackedString
Binary -> NHC.Binary
etc.