- Dec 23, 1998
-
-
Simon Marlow authored
Update for version 4.02
-
Simon Peyton Jones authored
Fix strictness of NewArrayOp and NewMutVarOp in PrimOp.lhs
-
- Dec 22, 1998
-
-
Simon Marlow authored
Filter out type arguments when analysing primops.
-
Simon Marlow authored
Another fix for getScrutineeTyCon: ignore Fun tycons.
-
Simon Marlow authored
Remove overlapped case correctly spotted by GHC.
-
Simon Peyton Jones authored
1. Add primOpStrictness to PrimOp.lhs, and use it in - the strictness analyser - the simplifier to deal correctly with PrimOps that are non-strict. ToDo: use this new facility to clean up SeqOp, ParOp. 2. Fix the instance-decl-import bug, but printing de-synonym'd types in interface files. 3. Make the simplifier treat applications with an unlifted-type arg in the same way it would if the function was strict (in rebuild_strict)
-
Simon Marlow authored
splitAlgTyConAppThroughNewTypes becomes splitTyConAppThroughNewTypes (i.e. it handles primitive types in addition to other TyCons). This enables case-of-case-of-primop to compile correctly.
-
Simon Marlow authored
Update .hi-boot files (Expr only takes one parameter and Var has none).
-
- Dec 21, 1998
-
-
Simon Peyton Jones authored
Add PprType.hi-boot; used only for error messages in Type.lhs
-
Simon Peyton Jones authored
Add utils/Panic.lhs
-
Simon Peyton Jones authored
Remove Eval altogether
-
Simon Peyton Jones authored
Forgot to commit PrelGHC.hi-boot; changes to syntax of open kind in CCallable
-
Simon Peyton Jones authored
Forgot to commit changes to interface file munging in ghc-iface.lprl
-
Simon Peyton Jones authored
Fix two minor typechecker bugs
-
- Dec 18, 1998
-
-
Simon Peyton Jones authored
Another big commit from Simon. Actually, the last one didn't all go into the main trunk; because of a CVS glitch it ended up in the wrong branch. So this commit includes: * Scoped type variables * Warnings for unused variables should work now (they didn't before) * Simplifier improvements: - Much better treatment of strict arguments - Better treatment of bottoming Ids - No need for w/w split for fns that are merely strict - Fewer iterations needed, I hope * Less gratuitous renaming in interface files and abs C * OccName is a separate module, and is an abstract data type I think the whole Prelude and Exts libraries compile correctly. Something isn't quite right about typechecking existentials though.
-
- Dec 15, 1998
-
-
Simon Marlow authored
add missing file.
-
Simon Marlow authored
add missing file from the merge. The ghc-4-01 tag will be added.
-
- Dec 14, 1998
-
-
Simon Marlow authored
fix out of date references to header files.
-
- Dec 10, 1998
-
-
Simon Peyton Jones authored
This massive commit is what Simon has been up to for a couple of weeks. 1. Scoped type variables are in 2. The typechecker works a bit differently. In partiular, the compiler no longer has TcTyVars of a different type than TyVars. All the 's' and 'flexi' type parameters have vanished from Id, TyVar, Type, etc. The typchecker monad is now in the IO world (though I didn't get around to removing the 's' parameter from the monad, but it's no longer used) Bottom line: significantly simpler, fewer gratuitous conversions from TcType <-> Type but less type security in the compiler There was a reason for doing this now; somehow the 's' stuff got in the way of kind inference for scoped type variables and I lost patience with it. 3. Haskell98-style reporting of scope errors; i.e. you only get an error if you use a variable that could mean two different things. At the same time I did a lot of tidying-up in the renamer. 4. Mostly-complete fix to the reporting of unused variables, which has never worked properly. (The 'mostly' bit is because it reports those 'system' tycons like _C as unused. I'm on the job.) 5. The parser is a bit tider than it was. A few more ugn files give a more refined C data type. I had to tackle this because of the scoped type variables. 6. Haskell98-style fixities. Fixity decls can occur wherever a type signature can 7. Some HsSyn changes that constitute minor tidy ups Put TypeDecl and ClassDecl into one type [HsDecls] Improved the HsMatch/GRHSs etc data types. 8. TcGRHSs is removed; combined into TcMatches. I DO NOT PROMISE THAT ALL OF THIS WORKS. It compiles the Prelude, but I have not tested it more than that. Stick to 4.01 if you want a compiler that's sure to work.
-
- Dec 09, 1998
-
-
sof authored
Added unpackCStringST - unmarshal C strings promptly
-
Simon Marlow authored
- backout rev 1.11 (spammed rev 1.10) - slide ghc-4-01 tag forward
-
sof authored
Stubs for implementing System.getArgs
-
- Dec 03, 1998
-
-
Simon Marlow authored
Inline PrimOps (inc. _c{call,asm}_GC_): load the arguments into temporaries early, just in case one of the arguments is in the spot on the stack where we want to push the return address.
-
Simon Marlow authored
merge from 4.01
-
Simon Marlow authored
bring in correct version
-
Simon Marlow authored
oops, wrong version of gmp.h
-
Simon Marlow authored
Oops, accidentally downgraded these files in the previous commit.
-
Simon Marlow authored
update
-
- Dec 02, 1998
-
-
Simon Marlow authored
Move 4.01 onto the main trunk.
-
- Nov 26, 1998
-
-
sof authored
don't include the non-conflict files that CVS leaves behind in the build tree
-
- Nov 25, 1998
-
-
Simon Marlow authored
add simple IORef test.
-
Simon Marlow authored
4.01 update
-
- Nov 24, 1998
-
-
Alastair Reid authored
Merge from HEAD
-
sof authored
Re-install hack which fixes 'leading underscore' feature test under cygwin32
-
sof authored
Emit soothing msg to counter the (harmless) autoconf warning that is output while processing AC_C_BIGENDIAN
-
- Nov 23, 1998
-
-
sof authored
Extend hConnectTo to also allow output handles to be connected, i.e., h1 <- openFile "foo" WriteMode h2 <- openFile "bar" WriteMode hConnectTo h1 h2 will cause h1's buffer to be flushed when h2's buffer overflows (and it is just about to be flushed.) The implementation is currently not as lazy as that, it flushes h1's buffer regardless of whether h2's buffer overflows or not. This is used to connect 'stderr' and 'stdout', i.e., output on 'stderr' will now cause 'stdout' output to (first) be flushed.
-
sof authored
Default GhcReportCompiles to NO
-
sof authored
Added {TEXT,DATA}_SECTION_MARKER_DECL
-
- Nov 22, 1998
-
-
sof authored
Added f-checks for symlink() and readlink()
-
- Nov 21, 1998
-
-
sof authored
Distinguish between defn and use of etext and end syms; they're not the same on platforms where we have to resort to asm labels.
-