- 14 Jun, 2008 10 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
We might want to put the values initSysTools finds in their own type, rather than having them flattened into DynFlags
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
so we no longer need to use defaultDynFlags there
-
Ian Lynagh authored
-
- 13 Jun, 2008 1 commit
-
-
Ian Lynagh authored
-
- 12 Jun, 2008 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
isWindowsHost is True iff mingw32_HOST_OS is defined.
-
Ian Lynagh authored
-
- 11 Jun, 2008 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
This disappeared when we stopped being "fptools" and became just "ghc"
-
Ian Lynagh authored
-
- 10 Jun, 2008 4 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 06 Jun, 2008 16 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
One of the conditions we were checking was t2 `eqPatLType` t2 rather than t1 `eqPatLType` t2
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
When we deal with a family-instance declaration (TcTyClsDecls.tcFamInstDecl) we must check the TyCon for validity; for example, that a newtype has exactly one field. That is done all-at-once for normal declarations, and had been forgotten altogether for families. I also refactored the interface to tcFamInstDecl1 slightly. A slightly separate matter: if there's an error in family instances (e.g. overlap) we get a confusing error message cascade if we attempt to deal with 'deriving' clauses too; this patch bales out earlier in that case. Another slightly separate matter: standalone deriving for family instances can legitimately have more specific types, just like normal data decls. For example data instance F [a] = ... deriving instance (Eq a, Eq b) => Eq (F [(a,b)]) So tcLookupFamInstExact can a bit more forgiving than it was.
-
- 05 Jun, 2008 3 commits
-
-
simonpj@microsoft.com authored
Sorry -- my 'validate' didn't work right and I missed a trick. This patch must accompany * Fix Trac #2045: use big-tuple machiney for implication constraints
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-