| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change more uses of sortLe to sortBy | Ian Lynagh | 2012-06-22 | 10 | -30/+25 |
| | | |||||
| * | Remove some uses of sortLe | Ian Lynagh | 2012-06-22 | 6 | -20/+13 |
| | | | | | | | Technically the behaviour of sortWith has changed, as it used x `le` y = get_key x < get_key y (note "<" rather than "<="), but I assume that that was just a mistake. | ||||
| * | Remove some more unused functions | Ian Lynagh | 2012-06-22 | 1 | -28/+0 |
| | | |||||
| * | Remove a GHC 6.4 workaround | Ian Lynagh | 2012-06-22 | 1 | -6/+1 |
| | | |||||
| * | Remove 'on' from Util | Ian Lynagh | 2012-06-22 | 5 | -5/+5 |
| | | | | | We can now rely on it being available from Data.Function | ||||
| * | Remove some more unused function from ListSetOps | Ian Lynagh | 2012-06-22 | 1 | -22/+0 |
| | | |||||
| * | Remove an unused function | Ian Lynagh | 2012-06-22 | 1 | -20/+0 |
| | | |||||
| * | Remove duplicated comment | Jose Pedro Magalhaes | 2012-06-21 | 1 | -2/+0 |
| | | |||||
| * | Allow deriving Generic1 | Jose Pedro Magalhaes | 2012-06-21 | 4 | -169/+521 |
| | | | | | | | | | | | | | This completes the support for generic programming introduced in GHC 7.2. Generic1 allows defining generic functions that operate on type containers, such as `fmap`, for instance. Along the way we have fixed #5936 and #5939, allowing deriving Generic/Generic1 for data families, and disallowing deriving Generic/Generic1 for instantiated types. Most of this patch is Nicolas Frisby's work. | ||||
| * | Merge branch 'master' of http://darcs.haskell.org/ghc | Simon Peyton Jones | 2012-06-21 | 15 | -219/+169 |
| |\ | |||||
| | * | Fix whitespace in cmm/PprCmmDecl.hs | Ian Lynagh | 2012-06-20 | 1 | -9/+2 |
| | | | |||||
| | * | Remove some more redundant Platform arguments | Ian Lynagh | 2012-06-20 | 3 | -10/+10 |
| | | | |||||
| | * | Remove some more redundant Platform arguments | Ian Lynagh | 2012-06-20 | 6 | -72/+64 |
| | | | |||||
| | * | Remove some redundant Platform arguments | Ian Lynagh | 2012-06-20 | 2 | -17/+16 |
| | | | |||||
| | * | Fix whitespace in cmm/PprCmmExpr.hs | Ian Lynagh | 2012-06-20 | 1 | -24/+17 |
| | | | |||||
| | * | Fix whitespace in codeGen/StgCmmGran.hs | Ian Lynagh | 2012-06-20 | 1 | -32/+25 |
| | | | |||||
| | * | Make -fgransim a dynamic flag | Ian Lynagh | 2012-06-20 | 4 | -15/+14 |
| | | | |||||
| | * | Make -fparallel a dynamic flag | Ian Lynagh | 2012-06-20 | 5 | -9/+6 |
| | | | |||||
| | * | Fix whitespace in codeGen/CgParallel.hs | Ian Lynagh | 2012-06-20 | 1 | -29/+22 |
| | | | |||||
| | * | Remove some cruft from StaticFlagParser | Ian Lynagh | 2012-06-20 | 1 | -10/+1 |
| | | | | | | | | | | | Also, -read-dot-ghci is now gone. We now have -no-ignore-dot-ghci instead. | ||||
| * | | Remove the USAVOURY HACK in simplifyInfer | Simon Peyton Jones | 2012-06-21 | 1 | -74/+30 |
| |/ | | | | | See the discussion in Trac #4361. The change fixes a regression in test IPRun. | ||||
| * | Follow changes in base | Ian Lynagh | 2012-06-19 | 1 | -4/+2 |
| | | |||||
| * | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-06-19 | 1 | -1/+1 |
| |\ | |||||
| | * | Template Haskell: StringPrimL now takes [Word8] | Reiner Pope | 2012-06-19 | 1 | -1/+1 |
| | | | |||||
| * | | Build fixes | Ian Lynagh | 2012-06-18 | 1 | -1/+0 |
| | | | |||||
| * | | Move and rename opt_HiVersion | Ian Lynagh | 2012-06-18 | 4 | -8/+8 |
| | | | | | | | | | It isn't really an option at all | ||||
| * | | Make -firrefutable-tuples a dynamic flag | Ian Lynagh | 2012-06-18 | 4 | -6/+5 |
| | | | |||||
| * | | Make -ignore-dot-ghci a dynamic flag | Ian Lynagh | 2012-06-18 | 2 | -4/+8 |
| | | | |||||
| * | | Make -dppr-cols a dynamic flag | Ian Lynagh | 2012-06-18 | 6 | -28/+16 |
| |/ | |||||
| * | Remove redundant warning suppression in basicTypes/Literal.lhs | Ian Lynagh | 2012-06-18 | 1 | -7/+0 |
| | | |||||
| * | Make -dtrace-level a dynamic flag | Ian Lynagh | 2012-06-18 | 4 | -13/+10 |
| | | |||||
| * | Remove a redundant import | Ian Lynagh | 2012-06-16 | 1 | -1/+0 |
| | | |||||
| * | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-06-16 | 4 | -8/+35 |
| |\ | |||||
| | * | Don't put auto sccs on INLINE functions (#6131) | Simon Marlow | 2012-06-15 | 1 | -3/+33 |
| | | | | | | | | | | | | | There was also a bug caused by INLINEs getting SCCs, but unfortunately I have lost the test case. The Note in the code describes the problem though. | ||||
| | * | small tidyup | Simon Marlow | 2012-06-15 | 2 | -4/+1 |
| | | | |||||
| | * | fix ticket number in comment | Simon Marlow | 2012-06-15 | 1 | -1/+1 |
| | | | |||||
| * | | Remove a workaround for building with GHC 6.9 | Ian Lynagh | 2012-06-16 | 1 | -4/+0 |
| | | | |||||
| * | | Simplify some code | Ian Lynagh | 2012-06-14 | 1 | -2/+1 |
| |/ | | | | We were pointlessly going from String to SDoc and back again | ||||
| * | Make -dppr-case-as-let a dynamic flag | Ian Lynagh | 2012-06-14 | 3 | -30/+35 |
| | | |||||
| * | Fix whitespace in coreSyn/PprCore.lhs | Ian Lynagh | 2012-06-14 | 1 | -119/+112 |
| | | |||||
| * | Be strict in the DynFlags inside an SDoc | Ian Lynagh | 2012-06-14 | 1 | -1/+1 |
| | | | | | | | This is safe now that the tracingDynFlags is not just a call to panic. Not sure if it was causing a problem as it was, but this change should help make sure we don't get a chain of thunks built up inside SDocs. | ||||
| * | Change -dppr-user-length from a static to a dynamic flag | Ian Lynagh | 2012-06-14 | 6 | -18/+28 |
| | | |||||
| * | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-06-14 | 39 | -480/+309 |
| |\ | |||||
| | * | Merge branch 'master' of http://darcs.haskell.org/ghc | Simon Peyton Jones | 2012-06-13 | 13 | -108/+90 |
| | |\ | |||||
| | * | | Simplify the implementation of Implicit Parameters | Simon Peyton Jones | 2012-06-13 | 39 | -480/+309 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch re-implements implicit parameters via a class with a functional dependency: class IP (n::Symbol) a | n -> a where ip :: a This definition is in the library module GHC.IP. Notice how it use a type-literal, so we can have constraints like IP "x" Int Now all the functional dependency machinery works right to make implicit parameters behave as they should. Much special-case processing for implicit parameters can be removed entirely. One particularly nice thing is not having a dedicated "original-name cache" for implicit parameters (the nsNames field of NameCache). But many other cases disappear: * BasicTypes.IPName * IPTyCon constructor in Tycon.TyCon * CIPCan constructor in TcRnTypes.Ct * IPPred constructor in Types.PredTree Implicit parameters remain special in a few ways: * Special syntax. Eg the constraint (IP "x" Int) is parsed and printed as (?x::Int). And we still have local bindings for implicit parameters, and occurrences thereof. * A implicit-parameter binding (let ?x = True in e) amounts to a local instance declaration, which we have not had before. It just generates an implication contraint (easy), but when going under it we must purge any existing bindings for ?x in the inert set. See Note [Shadowing of Implicit Parameters] in TcSimplify * TcMType.sizePred classifies implicit parameter constraints as size-0, as before the change There are accompanying patches to libraries 'base' and 'haddock' All the work was done by Iavor Diatchki | ||||
| * | | | Rename Coverage.dflags to Coverage.tte_dflags | Ian Lynagh | 2012-06-14 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | The record field was confusingly using the same name that the value normally uses. | ||||
| * | | | Fix whitespace in deSugar/Coverage.lhs | Ian Lynagh | 2012-06-14 | 1 | -231/+224 |
| | | | | |||||
| * | | | Stop exporting, and stop using, some deprecated functions | Ian Lynagh | 2012-06-13 | 3 | -13/+6 |
| | | | | |||||
| * | | | Use 'ppr' rather than 'pprCLabel platform' | Ian Lynagh | 2012-06-13 | 1 | -19/+19 |
| | | | | | | | | | | | | | Means we can stop passing platform around as much. | ||||
| * | | | Remove more redundant Platform arguments | Ian Lynagh | 2012-06-13 | 1 | -25/+24 |
| | | | | |||||
