[project @ 1998-02-02 17:27:26 by simonm]
authorsimonm <unknown>
Mon, 2 Feb 1998 17:35:59 +0000 (17:35 +0000)
committersimonm <unknown>
Mon, 2 Feb 1998 17:35:59 +0000 (17:35 +0000)
commit28139aea50376444d56f43f0914291348a51a7e7
tree595c378188638ef16462972c1e7fcdb8409c7f16
parent98a1ebecb6d22d793b1d9f8e1d24ecbb5a2d130f
[project @ 1998-02-02 17:27:26 by simonm]
Library re-organisation:

All libraries now live under ghc/lib, which has the following structure:

ghc/lib/std     --  all prelude files  (libHS.a)
ghc/lib/std/cbits

ghc/lib/exts -- standard Hugs/GHC extensions (libHSexts.a)
-- available with '-fglasgow-exts'

ghc/lib/posix -- POSIX library                (libHSposix.a)
ghc/lib/posix/cbits     -- available with '-syslib posix'

ghc/lib/misc -- used to be hslibs/ghc (libHSmisc.a)
ghc/lib/misc/cbits -- available with '-syslib misc'

ghc/lib/concurrent -- Concurrent libraries (libHSconc.a)
-- available with '-concurrent'

Also, several non-standard prelude modules had their names changed to begin
with 'Prel' to reduce namespace pollution.

Addr      ==> PrelAddr     (Addr interface available in 'exts')
ArrBase   ==> PrelArr
CCall     ==> PrelCCall    (CCall interface available in 'exts')
ConcBase  ==> PrelConc
GHCerr    ==> PrelErr
Foreign   ==> PrelForeign  (Foreign interface available in 'exts')
GHC       ==> PrelGHC
IOHandle  ==> PrelHandle
IOBase    ==> PrelIOBase
GHCmain   ==> PrelMain
STBase    ==> PrelST
Unsafe    ==> PrelUnsafe
UnsafeST  ==> PrelUnsafeST
171 files changed:
ghc/compiler/basicTypes/IdUtils.lhs
ghc/compiler/basicTypes/Name.lhs
ghc/compiler/prelude/PrelInfo.lhs
ghc/compiler/prelude/PrelMods.lhs
ghc/compiler/prelude/PrelVals.lhs
ghc/compiler/prelude/PrimOp.lhs
ghc/compiler/prelude/TysPrim.lhs
ghc/compiler/prelude/TysWiredIn.lhs
ghc/compiler/typecheck/TcInstDcls.lhs
ghc/compiler/typecheck/TcModule.lhs
ghc/compiler/types/TyCon.lhs
ghc/driver/ghc.lprl
ghc/lib/Makefile
ghc/lib/concurrent/Channel.lhs
ghc/lib/concurrent/ChannelVar.lhs
ghc/lib/concurrent/Concurrent.lhs
ghc/lib/concurrent/Makefile [new file with mode: 0644]
ghc/lib/concurrent/Merge.lhs
ghc/lib/concurrent/Parallel.lhs
ghc/lib/concurrent/SampleVar.lhs
ghc/lib/concurrent/Semaphore.lhs
ghc/lib/exts/Addr.lhs [new file with mode: 0644]
ghc/lib/exts/Bits.lhs [moved from ghc/lib/glaExts/Bits.lhs with 100% similarity]
ghc/lib/exts/ByteArray.lhs [moved from ghc/lib/glaExts/ByteArray.lhs with 98% similarity]
ghc/lib/exts/CCall.lhs [new file with mode: 0644]
ghc/lib/exts/Foreign.lhs [new file with mode: 0644]
ghc/lib/exts/GlaExts.lhs [moved from ghc/lib/glaExts/GlaExts.lhs with 94% similarity]
ghc/lib/exts/IOExts.lhs [moved from ghc/lib/glaExts/IOExts.lhs with 95% similarity]
ghc/lib/exts/Int.lhs [moved from ghc/lib/glaExts/Int.lhs with 99% similarity]
ghc/lib/exts/LazyST.lhs [moved from ghc/lib/glaExts/LazyST.lhs with 84% similarity]
ghc/lib/exts/Makefile [new file with mode: 0644]
ghc/lib/exts/MutableArray.lhs [moved from ghc/lib/glaExts/MutableArray.lhs with 99% similarity]
ghc/lib/exts/NumExts.lhs [moved from ghc/lib/glaExts/NumExts.lhs with 100% similarity]
ghc/lib/exts/ST.lhs [moved from ghc/lib/glaExts/ST.lhs with 97% similarity]
ghc/lib/exts/Word.lhs [moved from ghc/lib/glaExts/Word.lhs with 99% similarity]
ghc/lib/misc/BSD.lhs [new file with mode: 0644]
ghc/lib/misc/Bag.lhs [new file with mode: 0644]
ghc/lib/misc/BitSet.lhs [new file with mode: 0644]
ghc/lib/misc/CharSeq.lhs [new file with mode: 0644]
ghc/lib/misc/FiniteMap.lhs [new file with mode: 0644]
ghc/lib/misc/ListSetOps.lhs [new file with mode: 0644]
ghc/lib/misc/Makefile [new file with mode: 0644]
ghc/lib/misc/MatchPS.lhs [new file with mode: 0644]
ghc/lib/misc/Maybes.lhs [new file with mode: 0644]
ghc/lib/misc/PackedString.lhs [new file with mode: 0644]
ghc/lib/misc/Pretty.lhs [new file with mode: 0644]
ghc/lib/misc/Readline.lhs [new file with mode: 0644]
ghc/lib/misc/Regex.lhs [new file with mode: 0644]
ghc/lib/misc/Set.lhs [new file with mode: 0644]
ghc/lib/misc/Socket.lhs [new file with mode: 0644]
ghc/lib/misc/SocketPrim.lhs [new file with mode: 0644]
ghc/lib/misc/Util.lhs [new file with mode: 0644]
ghc/lib/misc/cbits/Makefile [new file with mode: 0644]
ghc/lib/misc/cbits/acceptSocket.c [new file with mode: 0644]
ghc/lib/misc/cbits/bindSocket.c [new file with mode: 0644]
ghc/lib/misc/cbits/connectSocket.c [new file with mode: 0644]
ghc/lib/misc/cbits/createSocket.c [new file with mode: 0644]
ghc/lib/misc/cbits/decls.h [new file with mode: 0644]
ghc/lib/misc/cbits/getPeerName.c [new file with mode: 0644]
ghc/lib/misc/cbits/getSockName.c [new file with mode: 0644]
ghc/lib/misc/cbits/ghcReadline.c [new file with mode: 0644]
ghc/lib/misc/cbits/ghcReadline.h [new file with mode: 0644]
ghc/lib/misc/cbits/ghcRegex.h [new file with mode: 0644]
ghc/lib/misc/cbits/ghcSockets.h [new file with mode: 0644]
ghc/lib/misc/cbits/listenSocket.c [new file with mode: 0644]
ghc/lib/misc/cbits/readDescriptor.c [new file with mode: 0644]
ghc/lib/misc/cbits/regex.c [new file with mode: 0644]
ghc/lib/misc/cbits/shutdownSocket.c [new file with mode: 0644]
ghc/lib/misc/cbits/writeDescriptor.c [new file with mode: 0644]
ghc/lib/misc/docs/libraries.lit [new file with mode: 0644]
ghc/lib/misc/tests/finite-maps/Main.hs [new file with mode: 0644]
ghc/lib/misc/tests/finite-maps/Makefile [new file with mode: 0644]
ghc/lib/misc/tests/finite-maps/ghclib001.stdin [new file with mode: 0644]
ghc/lib/misc/tests/finite-maps/ghclib001.stdout [new file with mode: 0644]
ghc/lib/posix/Makefile [new file with mode: 0644]
ghc/lib/posix/Posix.lhs [new file with mode: 0644]
ghc/lib/posix/PosixDB.lhs [new file with mode: 0644]
ghc/lib/posix/PosixErr.lhs [new file with mode: 0644]
ghc/lib/posix/PosixFiles.lhs [new file with mode: 0644]
ghc/lib/posix/PosixIO.lhs [new file with mode: 0644]
ghc/lib/posix/PosixProcEnv.lhs [new file with mode: 0644]
ghc/lib/posix/PosixProcPrim.lhs [new file with mode: 0644]
ghc/lib/posix/PosixTTY.lhs [new file with mode: 0644]
ghc/lib/posix/PosixUtil.lhs [new file with mode: 0644]
ghc/lib/posix/cbits/Makefile [new file with mode: 0644]
ghc/lib/posix/cbits/env.c [new file with mode: 0644]
ghc/lib/posix/cbits/execvpe.c [new file with mode: 0644]
ghc/lib/posix/cbits/libposix.h [new file with mode: 0644]
ghc/lib/std/Array.lhs [moved from ghc/lib/required/Array.lhs with 98% similarity]
ghc/lib/std/CPUTime.lhs [moved from ghc/lib/required/CPUTime.lhs with 84% similarity]
ghc/lib/std/Char.lhs [moved from ghc/lib/required/Char.lhs with 97% similarity]
ghc/lib/std/Complex.lhs [moved from ghc/lib/required/Complex.lhs with 100% similarity]
ghc/lib/std/Directory.lhs [moved from ghc/lib/required/Directory.lhs with 98% similarity]
ghc/lib/std/IO.lhs [moved from ghc/lib/required/IO.lhs with 98% similarity]
ghc/lib/std/Ix.lhs [moved from ghc/lib/required/Ix.lhs with 99% similarity]
ghc/lib/std/List.lhs [moved from ghc/lib/required/List.lhs with 89% similarity]
ghc/lib/std/Locale.lhs [moved from ghc/lib/required/Locale.lhs with 100% similarity]
ghc/lib/std/Main.hi-boot [moved from ghc/lib/ghc/Main.hi-boot with 91% similarity]
ghc/lib/std/Maybe.lhs [moved from ghc/lib/required/Maybe.lhs with 98% similarity]
ghc/lib/std/Monad.lhs [moved from ghc/lib/required/Monad.lhs with 100% similarity]
ghc/lib/std/Numeric.lhs [moved from ghc/lib/required/Numeric.lhs with 99% similarity]
ghc/lib/std/PrelAddr.lhs [moved from ghc/lib/glaExts/Addr.lhs with 96% similarity]
ghc/lib/std/PrelArr.lhs [moved from ghc/lib/ghc/ArrBase.lhs with 99% similarity]
ghc/lib/std/PrelBase.lhs [moved from ghc/lib/ghc/PrelBase.lhs with 99% similarity]
ghc/lib/std/PrelBounded.lhs [moved from ghc/lib/ghc/PrelBounded.lhs with 81% similarity]
ghc/lib/std/PrelCCall.lhs [moved from ghc/lib/glaExts/CCall.lhs with 93% similarity]
ghc/lib/std/PrelConc.lhs [moved from ghc/lib/ghc/ConcBase.lhs with 91% similarity]
ghc/lib/std/PrelEither.lhs [moved from ghc/lib/ghc/PrelEither.lhs with 100% similarity]
ghc/lib/std/PrelErr.hi-boot [moved from ghc/lib/ghc/GHCerr.hi-boot with 76% similarity]
ghc/lib/std/PrelErr.lhs [moved from ghc/lib/ghc/GHCerr.lhs with 91% similarity]
ghc/lib/std/PrelForeign.lhs [moved from ghc/lib/glaExts/Foreign.lhs with 96% similarity]
ghc/lib/std/PrelGHC.hi-boot [moved from ghc/lib/ghc/GHC.hi-boot with 99% similarity]
ghc/lib/std/PrelHandle.lhs [moved from ghc/lib/ghc/IOHandle.lhs with 98% similarity]
ghc/lib/std/PrelIO.lhs [moved from ghc/lib/ghc/PrelIO.lhs with 98% similarity]
ghc/lib/std/PrelIOBase.lhs [moved from ghc/lib/ghc/IOBase.lhs with 97% similarity]
ghc/lib/std/PrelList.lhs [moved from ghc/lib/ghc/PrelList.lhs with 99% similarity]
ghc/lib/std/PrelMain.lhs [moved from ghc/lib/ghc/GHCmain.lhs with 81% similarity]
ghc/lib/std/PrelMaybe.lhs [moved from ghc/lib/ghc/PrelMaybe.lhs with 100% similarity]
ghc/lib/std/PrelNum.lhs [moved from ghc/lib/ghc/PrelNum.lhs with 99% similarity]
ghc/lib/std/PrelPack.lhs [moved from ghc/lib/ghc/PackBase.lhs with 97% similarity]
ghc/lib/std/PrelRead.lhs [moved from ghc/lib/ghc/PrelRead.lhs with 99% similarity]
ghc/lib/std/PrelST.lhs [moved from ghc/lib/ghc/STBase.lhs with 96% similarity]
ghc/lib/std/PrelTup.lhs [moved from ghc/lib/ghc/PrelTup.lhs with 99% similarity]
ghc/lib/std/PrelUnsafe.lhs [moved from ghc/lib/ghc/Unsafe.lhs with 89% similarity]
ghc/lib/std/PrelUnsafeST.lhs [moved from ghc/lib/ghc/UnsafeST.lhs with 95% similarity]
ghc/lib/std/Prelude.lhs [moved from ghc/lib/required/Prelude.lhs with 98% similarity]
ghc/lib/std/Random.lhs [moved from ghc/lib/required/Random.lhs with 100% similarity]
ghc/lib/std/Ratio.lhs [moved from ghc/lib/required/Ratio.lhs with 100% similarity]
ghc/lib/std/System.lhs [moved from ghc/lib/required/System.lhs with 96% similarity]
ghc/lib/std/Time.lhs [moved from ghc/lib/required/Time.lhs with 98% similarity]
ghc/lib/std/cbits/Makefile [moved from ghc/lib/cbits/Makefile with 87% similarity]
ghc/lib/std/cbits/closeFile.lc [moved from ghc/lib/cbits/closeFile.lc with 100% similarity]
ghc/lib/std/cbits/createDirectory.lc [moved from ghc/lib/cbits/createDirectory.lc with 100% similarity]
ghc/lib/std/cbits/errno.lc [moved from ghc/lib/cbits/errno.lc with 100% similarity]
ghc/lib/std/cbits/fileEOF.lc [moved from ghc/lib/cbits/fileEOF.lc with 100% similarity]
ghc/lib/std/cbits/fileGetc.lc [moved from ghc/lib/cbits/fileGetc.lc with 100% similarity]
ghc/lib/std/cbits/fileLookAhead.lc [moved from ghc/lib/cbits/fileLookAhead.lc with 100% similarity]
ghc/lib/std/cbits/filePosn.lc [moved from ghc/lib/cbits/filePosn.lc with 100% similarity]
ghc/lib/std/cbits/filePutc.lc [moved from ghc/lib/cbits/filePutc.lc with 100% similarity]
ghc/lib/std/cbits/fileSize.lc [moved from ghc/lib/cbits/fileSize.lc with 100% similarity]
ghc/lib/std/cbits/floatExtreme.h [moved from ghc/lib/cbits/floatExtreme.h with 100% similarity]
ghc/lib/std/cbits/floatExtreme.lc [moved from ghc/lib/cbits/floatExtreme.lc with 100% similarity]
ghc/lib/std/cbits/flushFile.lc [moved from ghc/lib/cbits/flushFile.lc with 100% similarity]
ghc/lib/std/cbits/freeFile.lc [moved from ghc/lib/cbits/freeFile.lc with 100% similarity]
ghc/lib/std/cbits/getBufferMode.lc [moved from ghc/lib/cbits/getBufferMode.lc with 100% similarity]
ghc/lib/std/cbits/getCPUTime.lc [moved from ghc/lib/cbits/getCPUTime.lc with 100% similarity]
ghc/lib/std/cbits/getClockTime.lc [moved from ghc/lib/cbits/getClockTime.lc with 100% similarity]
ghc/lib/std/cbits/getCurrentDirectory.lc [moved from ghc/lib/cbits/getCurrentDirectory.lc with 100% similarity]
ghc/lib/std/cbits/getDirectoryContents.lc [moved from ghc/lib/cbits/getDirectoryContents.lc with 100% similarity]
ghc/lib/std/cbits/getLock.lc [moved from ghc/lib/cbits/getLock.lc with 100% similarity]
ghc/lib/std/cbits/inputReady.lc [moved from ghc/lib/cbits/inputReady.lc with 100% similarity]
ghc/lib/std/cbits/openFile.lc [moved from ghc/lib/cbits/openFile.lc with 100% similarity]
ghc/lib/std/cbits/readFile.lc [moved from ghc/lib/cbits/readFile.lc with 100% similarity]
ghc/lib/std/cbits/removeDirectory.lc [moved from ghc/lib/cbits/removeDirectory.lc with 100% similarity]
ghc/lib/std/cbits/removeFile.lc [moved from ghc/lib/cbits/removeFile.lc with 100% similarity]
ghc/lib/std/cbits/renameDirectory.lc [moved from ghc/lib/cbits/renameDirectory.lc with 100% similarity]
ghc/lib/std/cbits/renameFile.lc [moved from ghc/lib/cbits/renameFile.lc with 100% similarity]
ghc/lib/std/cbits/seekFile.lc [moved from ghc/lib/cbits/seekFile.lc with 100% similarity]
ghc/lib/std/cbits/setBuffering.lc [moved from ghc/lib/cbits/setBuffering.lc with 100% similarity]
ghc/lib/std/cbits/setCurrentDirectory.lc [moved from ghc/lib/cbits/setCurrentDirectory.lc with 100% similarity]
ghc/lib/std/cbits/showTime.lc [moved from ghc/lib/cbits/showTime.lc with 100% similarity]
ghc/lib/std/cbits/stgio.h [moved from ghc/lib/cbits/stgio.h with 100% similarity]
ghc/lib/std/cbits/system.lc [moved from ghc/lib/cbits/system.lc with 69% similarity]
ghc/lib/std/cbits/timezone.h [moved from ghc/lib/cbits/timezone.h with 100% similarity]
ghc/lib/std/cbits/toClockSec.lc [moved from ghc/lib/cbits/toClockSec.lc with 100% similarity]
ghc/lib/std/cbits/toLocalTime.lc [moved from ghc/lib/cbits/toLocalTime.lc with 100% similarity]
ghc/lib/std/cbits/toUTCTime.lc [moved from ghc/lib/cbits/toUTCTime.lc with 100% similarity]
ghc/lib/std/cbits/writeFile.lc [moved from ghc/lib/cbits/writeFile.lc with 100% similarity]
ghc/runtime/main/TopClosure.lc
ghc/utils/mkdependHS/Makefile
ghc/utils/mkdependHS/mkdependHS.prl