- 10 Jan, 2007 4 commits
-
-
chak@cse.unsw.edu.au. authored
-
Simon Marlow authored
-
simonpj@microsoft.com authored
The float-in pass wasn't doing the right thing when you have let x{rule mentions y} = rhs in body It allowed a binding mentioning y to float into the body, which is obviously wrong. I think this bug has been there a long time; I don't really know why it has not come up before. It showed up when compiling Text.Regex.Base.Context with WAY=p in package regex-base.
-
simonpj@microsoft.com authored
-
- 09 Jan, 2007 5 commits
-
-
chak@cse.unsw.edu.au. authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
Build an implication constraint if there is a non-trivial refinement, even if there are no other 'given' constraints. Test = gadt/set.hs
-
Simon Marlow authored
-
mnislaih authored
-
- 08 Jan, 2007 4 commits
-
-
Ian Lynagh authored
Fixes trac #929. Merge to 6.6 branch.
-
Simon Marlow authored
I broke it during my recent interface-file overhaul
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 07 Jan, 2007 2 commits
- 06 Jan, 2007 2 commits
- 05 Jan, 2007 3 commits
-
-
mnislaih authored
-
mnislaih authored
-
mnislaih authored
A module loaded under debugging mode but owning no breakpoints was erroneously identified by ghci as a non-under debugging module, producing a confusing error msg when the user tried to set a breakpoint The fix inserts an empty list of sites in the module-sites dictionary used by the debugger
-
- 31 Dec, 2006 1 commit
-
-
mnislaih authored
-
- 07 Jan, 2007 1 commit
-
-
ijones@syntaxpolice.org authored
Amusingly, this little error in the GHC manual came from the original SPJ proposal for pattern guards from 1997 and even slipped into the Haskell Workshop 2000 paper by SPJ and Martin Erwig. It's almost 10 years old.
-
- 05 Jan, 2007 5 commits
-
-
davve@dtek.chalmers.se authored
its root. Also gets rid of the getDeclMainBinder function which isn't needed anylonger.
-
Simon Marlow authored
This fixes #1047
-
Simon Marlow authored
This is so that exceptions raised by Main.main do exactly the same thing as they would in a compiled program, including writing the message to stderr and shutting down with the correct exit code.
-
Simon Marlow authored
-
chak@cse.unsw.edu.au. authored
- This patch cleans up the HsSyn representation of type family declarations. - The new representation is not only less delicate, it also simplified teh code a bit. - I took the opportunity of stream lining the terminology and function names at the same time. - I also updated the description on the wiki at <http://hackage.haskell.org/trac/ghc/wiki/TypeFunctionsSyntax>
-
- 04 Jan, 2007 1 commit
-
-
chak@cse.unsw.edu.au. authored
- The test for being able to derive the requested classes needs to be made with the representation tycon (not the family tycon). - Standalone deriving for indexed types requires the instance types in the derive clause to match a data/newtype instance exactly (modulo alpha).
-
- 03 Jan, 2007 12 commits
-
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
(MERGE to STABLE branch, pls) This patch makes us a bit more relaxed about ambiguous class method types. See tc223 for an example. Reported by Yitzchak Gale
-
simonpj@microsoft.com authored
There was a plain bug in the cast-optimiation code -- a call to splitCoercionKind_maybe instead of coercionKind! Result was that we missed useful opportunities to move casts around. Trac #995 is an example, but I bet there are more.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
Now that coercion variables mention types, a type-lambda binder can have free variables. This patch adjusts the free-variable finder to take account of this, by treating Ids and TyVars more uniformly. In addition, I fixed a bug in the specialiser that was missing a free type variable in a binder. And a bug in tyVarsOfInst that was missing the type variables in the kinds of the quantified tyvars.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
Fixes Trac #1053
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-