[project @ 2001-06-28 14:15:04 by simonmar]
authorsimonmar <unknown>
Thu, 28 Jun 2001 14:15:04 +0000 (14:15 +0000)
committersimonmar <unknown>
Thu, 28 Jun 2001 14:15:04 +0000 (14:15 +0000)
commit7f1f4e7a695c402ddd3a1dc2cc7114e649a78ebc
tree1281e68334fc08d6d0c5b631bb340466908c77b4
[project @ 2001-06-28 14:15:04 by simonmar]
First cut of the Haskell Core Libraries
=======================================

NOTE: it's not meant to be a working snapshot.  The code is just here
to look at and so the NHC/Hugs guys can start playing around with it.

There is no build system.  For GHC, the libraries tree is intended to
be grafted onto an existing fptools/ tree, and the Makefile in
libraries/core is a quick hack for that setup.  This won't work at the
moment without the other changes needed in fptools/ghc, which I
haven't committed because they'll cause breakage.  However, with the
changes required these sources build a working Prelude and libraries.

The layout mostly follows the one we agreed on, with one or two minor
changes; in particular the Data/Array layout probably isn't final
(there are several choices here).

The document is in libraries/core/doc as promised.

The cbits stuff is just a copy of ghc/lib/std/cbits and has
GHC-specific stuff in it.  We should really separate the
compiler-specific C support from any compiler-independent C support
there might be.

Don't pay too much attention to the portability or stability status
indicated in the header of each source file at the moment - I haven't
gone through to make sure they're all consistent and make sense.

I'm using non-literate source outside of GHC/.  Hope that's ok with
everyone.

We need to discuss how the build system is going to work...
128 files changed:
Control/Concurrent.hs [new file with mode: 0644]
Control/Concurrent/CVar.hs [new file with mode: 0644]
Control/Concurrent/Chan.hs [new file with mode: 0644]
Control/Concurrent/MVar.hs [new file with mode: 0644]
Control/Concurrent/QSem.hs [new file with mode: 0644]
Control/Concurrent/QSemN.hs [new file with mode: 0644]
Control/Concurrent/SampleVar.hs [new file with mode: 0644]
Control/Exception.hs [new file with mode: 0644]
Control/Monad.hs [new file with mode: 0644]
Control/Monad/Cont.hs [new file with mode: 0644]
Control/Monad/Error.hs [new file with mode: 0644]
Control/Monad/Fix.hs [new file with mode: 0644]
Control/Monad/Identity.hs [new file with mode: 0644]
Control/Monad/List.hs [new file with mode: 0644]
Control/Monad/Monoid.hs [new file with mode: 0644]
Control/Monad/RWS.hs [new file with mode: 0644]
Control/Monad/Reader.hs [new file with mode: 0644]
Control/Monad/ST.hs [new file with mode: 0644]
Control/Monad/ST/Lazy.hs [new file with mode: 0644]
Control/Monad/ST/Strict.hs [new file with mode: 0644]
Control/Monad/State.hs [new file with mode: 0644]
Control/Monad/Trans.hs [new file with mode: 0644]
Control/Monad/Writer.hs [new file with mode: 0644]
Control/Parallel.hs [new file with mode: 0644]
Control/Parallel/Strategies.hs [new file with mode: 0644]
Data/Array.hs [new file with mode: 0644]
Data/Array/Base.hs [new file with mode: 0644]
Data/Array/IArray.hs [new file with mode: 0644]
Data/Array/IO.hs [new file with mode: 0644]
Data/Array/MArray.hs [new file with mode: 0644]
Data/Array/ST.hs [new file with mode: 0644]
Data/Array/Unboxed.hs [new file with mode: 0644]
Data/Bits.hs [new file with mode: 0644]
Data/Bool.hs [new file with mode: 0644]
Data/Char.hs [new file with mode: 0644]
Data/Complex.hs [new file with mode: 0644]
Data/Dynamic.hs [new file with mode: 0644]
Data/Either.hs [new file with mode: 0644]
Data/IORef.hs [new file with mode: 0644]
Data/Int.hs [new file with mode: 0644]
Data/Ix.hs [new file with mode: 0644]
Data/List.hs [new file with mode: 0644]
Data/Maybe.hs [new file with mode: 0644]
Data/PackedString.hs [new file with mode: 0644]
Data/Ratio.hs [new file with mode: 0644]
Data/STRef.hs [new file with mode: 0644]
Data/Word.hs [new file with mode: 0644]
Debug/Trace.hs [new file with mode: 0644]
Foreign.hs [new file with mode: 0644]
Foreign/C.hs [new file with mode: 0644]
Foreign/C/Error.hs [new file with mode: 0644]
Foreign/C/String.hs [new file with mode: 0644]
Foreign/C/Types.hs [new file with mode: 0644]
Foreign/C/TypesISO.hs [new file with mode: 0644]
Foreign/ForeignPtr.hs [new file with mode: 0644]
Foreign/Marshal/Alloc.hs [new file with mode: 0644]
Foreign/Marshal/Array.hs [new file with mode: 0644]
Foreign/Marshal/Error.hs [new file with mode: 0644]
Foreign/Marshal/Utils.hs [new file with mode: 0644]
Foreign/Ptr.hs [new file with mode: 0644]
Foreign/StablePtr.hs [new file with mode: 0644]
Foreign/Storable.hs [new file with mode: 0644]
GHC/Arr.lhs [new file with mode: 0644]
GHC/Base.lhs [new file with mode: 0644]
GHC/ByteArr.lhs [new file with mode: 0644]
GHC/Conc.lhs [new file with mode: 0644]
GHC/Dynamic.lhs [new file with mode: 0644]
GHC/Enum.lhs [new file with mode: 0644]
GHC/Err.hi-boot [new file with mode: 0644]
GHC/Err.lhs [new file with mode: 0644]
GHC/Exception.lhs [new file with mode: 0644]
GHC/Float.lhs [new file with mode: 0644]
GHC/Handle.hsc [new file with mode: 0644]
GHC/IO.hsc [new file with mode: 0644]
GHC/IOBase.lhs [new file with mode: 0644]
GHC/Int.lhs [new file with mode: 0644]
GHC/List.lhs [new file with mode: 0644]
GHC/Main.lhs [new file with mode: 0644]
GHC/Maybe.lhs [new file with mode: 0644]
GHC/Num.hi-boot [new file with mode: 0644]
GHC/Num.lhs [new file with mode: 0644]
GHC/Pack.lhs [new file with mode: 0644]
GHC/Posix.hsc [new file with mode: 0644]
GHC/Prim.hi-boot [new file with mode: 0644]
GHC/Ptr.lhs [new file with mode: 0644]
GHC/Read.lhs [new file with mode: 0644]
GHC/Real.lhs [new file with mode: 0644]
GHC/ST.lhs [new file with mode: 0644]
GHC/STRef.lhs [new file with mode: 0644]
GHC/Show.lhs [new file with mode: 0644]
GHC/Stable.lhs [new file with mode: 0644]
GHC/Storable.lhs [new file with mode: 0644]
GHC/TopHandler.lhs [new file with mode: 0644]
GHC/Tup.lhs [new file with mode: 0644]
GHC/Weak.lhs [new file with mode: 0644]
GHC/Word.lhs [new file with mode: 0644]
Main.hi-boot [new file with mode: 0644]
Makefile [new file with mode: 0644]
Prelude.hs [new file with mode: 0644]
System/CPUTime.hsc [new file with mode: 0644]
System/Cmd.hsc [new file with mode: 0644]
System/Environment.hs [new file with mode: 0644]
System/Exit.hs [new file with mode: 0644]
System/IO.hs [new file with mode: 0644]
System/IO/Directory.hsc [new file with mode: 0644]
System/IO/Unsafe.hs [new file with mode: 0644]
System/Info.hs [new file with mode: 0644]
System/Locale.hs [new file with mode: 0644]
System/Mem/StableName.hs [new file with mode: 0644]
System/Mem/Weak.hs [new file with mode: 0644]
System/Random.hs [new file with mode: 0644]
System/Time.hsc [new file with mode: 0644]
Text/Read.hs [new file with mode: 0644]
Text/Show.hs [new file with mode: 0644]
Text/Show/Functions.hs [new file with mode: 0644]
cbits/Makefile [new file with mode: 0644]
cbits/errno.c [new file with mode: 0644]
cbits/inputReady.c [new file with mode: 0644]
cbits/lockFile.c [new file with mode: 0644]
cbits/system.c [new file with mode: 0644]
cbits/writeError.c [new file with mode: 0644]
doc/libraries.sgml [new file with mode: 0644]
include/CTypes.h [new file with mode: 0644]
include/Dynamic.h [new file with mode: 0644]
include/HsCore.h [new file with mode: 0644]
include/PackedString.h [new file with mode: 0644]
include/ghc_errno.h [new file with mode: 0644]
include/lockFile.h [new file with mode: 0644]