
malcolm: Mon Oct 7 16:05:50 CEST 2002 Update of /usr/src/master/nhc/src/prelude/FFI In directory hinken:/tmp/cvs-serv7400/FFI Modified Files: Addr.hs CError.hs CStrings.hs CTypes.hs CTypesExtra.hs FFI.hs ForeignObj.hs ForeignPtr.hs FunPtr.hs Int.hs.cpp Makefile MarshalAlloc.hs MarshalArray.hs MarshalError.hs MarshalUtils.hs Ptr.hs StablePtr.hs Storable.hs Word.hs.cpp 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.