| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
- NumExts: new hugs&ghc interface
- moved showOct and showHex from Numeric to NumExts
|
| |
|
|
| |
* Int and Word rewritten to use unboxed types and operations.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Great Multi-Parameter Type Classes Merge.
Notes from Simon (abridged):
* Multi-parameter type classes are fully implemented.
* Error messages from the type checker should be noticeably improved
* Warnings for unused bindings (-fwarn-unused-names)
* many other minor bug fixes.
Internally there are the following changes
* Removal of Haskell 1.2 compatibility.
* Dramatic clean-up of the PprStyle stuff.
* The type Type has been substantially changed.
* The dictionary for each class is represented by a new
data type for that purpose, rather than by a tuple.
|
| |
|
|
| |
add instance of Show for Addr.
|
| |
|
|
| |
Add runST.
|
| |
|
|
|
| |
Pull runST and unsafeInterleaveST into new module UnsafeST to avoid
recursive dependencies. Grrrr.
|
| |
|
|
| |
lazify strictToLazyST a bit.
|
| |
|
|
| |
export freeze/thaw array operations.
|
| |
|
|
| |
Added compatibility stubs for ST and PrimIO operators
|
| |
|
|
|
| |
define STArray using newtype, and defined unsafeInterleaveST properly
for the lazy ST monad.
|
| |
|
|
| |
merged into IOExts.lhs
|
| |
|
|
| |
fix mistakes in last commit.
|
| |
|
|
| |
implement STArray using newtype instead of type.
|
| |
|
|
| |
add IOArray and relevant operations.
|
| |
|
|
| |
Add reallyUnsafePtrEq.
|
| |
|
|
| |
add compatibility cruft for PrimIO.
|
| |
|
|
|
|
|
| |
* simplify abs - it is just 'id' for naturals.
* use a special show for unsigned numbers.
* use special quotWord# and remWord# primitives.
* fix bugs in complement and shift operations.
|
| |
|
|
|
|
| |
* fix minBound::Int32 in view of the fact that minBound::Int is wrong.
* fix shift direction (it was reversed)
* fix complement to be a 1's complement instead of 2's complement
|
| |
|
|
|
| |
implement plusAddr, and add a load of ToDos for the various offset
functions.
|
| |
|
|
| |
export runST and fixST.
|
| |
|
|
|
|
|
|
|
| |
Library changes to:
* remove PrimIO
* change type of _ccall_ to IO
* incorporate Alastair Reid's new library interfaces for
compatibility with Hugs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes to unbox the state in the ST and IO monads.
ST now has type
newtype ST s a = ST (State# s -> STret s a)
data STret s a = STret (State# s) a
IO now has type
newtype IO a = IO (State# RealWorld -> IOResult a)
data IOResult a = IOok (State# RealWorld) a
| IOfail (State# RealWorld) IOError
So ST should be slightly more efficient, and IO should be nearly as
efficient as ST.
|
| |
|
|
| |
ForeignObj functionality is not supported in __PARALLEL_HASKELL__
|
| |
|
|
| |
Moved to ghc system library
|
| |
|
|
| |
Use UnsafeST
|
| |
|
|
| |
Added Lift(..) to export list
|
| |
|
|
| |
ghc-2-03-p1 merged onto main trunk
|
| |
|
|
| |
import Addr and Word from Foreign
|
| |
|
|
| |
Added Addr and Word defns
|
| |
|
|
| |
Export list update
|
| | |
|
| |
|
|
| |
Added import Foreign
|
| |
|
|
| |
Lazy ST bind and return added
|
| |
|
|
| |
added -#include of stgio
|
| |
|
|
| |
More small changes towards 2.02
|
| |
|
|
| |
OGI changes through 130397
|
| |
|
|
| |
New interfaces
|
| |
|
|
| |
Bug fixes to pragmas
|
| |
|
|
| |
Pragmas in interface files added
|
| |
|
|
| |
Adding and removing files
|
| |
|
|
| |
partain remove useless lib files
|
| |
|
|
| |
partain remove useless .hi files
|
| |
|
|
| |
After Andy Gill's late-95 changes
|
| |
|
|
| |
Alleged post-Sansom 0.27+ code
|
| | |
|
|
|
Initial revision
|