summaryrefslogtreecommitdiff
path: root/ghc/lib/exts/ByteArray.lhs
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 1999-11-26 16:29:09 by simonmar]simonmar1999-11-261-76/+0
| | | | GHC bits for new library organisation.
* [project @ 1999-10-05 09:02:30 by simonmar]simonmar1999-10-051-4/+4
| | | | | | Flatten out the tuple of bounds in the Array, MutableArray and ByteArray datatypes. This improves performance of heavy array manipulations quite significantly.
* [project @ 1999-02-02 13:21:59 by sof]sof1999-02-021-2/+40
| | | | | | | | | | - Added: newByteArray :: Ix ix => (ix,ix) -> ST s (ByteArray ix) boundsOfByteArray :: Ix ix => ByteArray ix -> (ix,ix) sizeofByteArray :: Ix ix => ByteArray ix -> Int plus defined Eq over ByteArrays.
* [project @ 1999-01-28 11:33:42 by simonpj]simonpj1999-01-281-2/+1
| | | | Remove unnecessary imports
* [project @ 1999-01-27 10:55:39 by simonm]simonm1999-01-271-0/+1
| | | | import PrelStable to get StablePtrs.
* [project @ 1999-01-25 14:02:03 by sof]sof1999-01-251-7/+17
| | | | Added indexStablePtrArray (moved over from MutableArray)
* [project @ 1999-01-14 18:15:28 by sof]sof1999-01-141-6/+6
| | | | | | | | * Misc changes to reflect that we're now speaking Haskell 98. * Augmented IOExts export list with unsafeIOToST :: IO a -> ST s a stToIO :: ST s a -> IO a
* [project @ 1998-06-29 17:11:19 by sof]sof1998-06-291-13/+1
| | | | Added {read,write}Word{8,16,32}Array functions + sizeof(Mutable)?ByteArray
* [project @ 1998-02-02 17:27:26 by simonm]simonm1998-02-021-0/+40
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