| 1 | |
|---|
| 2 | New patches: |
|---|
| 3 | |
|---|
| 4 | [Fix #2759: FloatConstr now has a Rational instead of a Double |
|---|
| 5 | Jose Pedro Magalhaes <jpm@cs.uu.nl>**20081209141909] { |
|---|
| 6 | hunk ./Data/Data.hs 78 |
|---|
| 7 | - mkFloatConstr, -- :: DataType -> Double -> Constr |
|---|
| 8 | + mkFloatConstr, -- :: (Real a) => DataType -> a -> Constr |
|---|
| 9 | hunk ./Data/Data.hs 513 |
|---|
| 10 | - | FloatConstr Double |
|---|
| 11 | + | FloatConstr Rational |
|---|
| 12 | hunk ./Data/Data.hs 741 |
|---|
| 13 | -mkFloatConstr :: DataType -> Double -> Constr |
|---|
| 14 | +mkFloatConstr :: (Real a) => DataType -> a -> Constr |
|---|
| 15 | hunk ./Data/Data.hs 743 |
|---|
| 16 | - FloatRep -> mkPrimCon dt (show f) (FloatConstr f) |
|---|
| 17 | + FloatRep -> mkPrimCon dt (show f) (FloatConstr (toRational f)) |
|---|
| 18 | hunk ./Data/Data.hs 858 |
|---|
| 19 | - toConstr x = mkFloatConstr floatType (realToFrac x) |
|---|
| 20 | + toConstr = mkFloatConstr floatType |
|---|
| 21 | hunk ./Data/Data.hs 873 |
|---|
| 22 | - (FloatConstr x) -> z x |
|---|
| 23 | + (FloatConstr x) -> z (realToFrac x) |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | Context: |
|---|
| 27 | |
|---|
| 28 | [Update INLINE pragmas for new INLINE story |
|---|
| 29 | simonpj@microsoft.com**20081205170015 |
|---|
| 30 | |
|---|
| 31 | - (.) and foldr should inline when applied to only two arguments |
|---|
| 32 | - Make unpackCString# NOINLINE; it inlines too much (with little gain) |
|---|
| 33 | |
|---|
| 34 | ] |
|---|
| 35 | [Fix #2750: change Prelude.(,) to Prelude.(,,) |
|---|
| 36 | Jose Pedro Magalhaes <jpm@cs.uu.nl>**20081201113411] |
|---|
| 37 | [Fix typo (or out of date reference) in throwTo documentation. |
|---|
| 38 | shelarcy <shelarcy@gmail.com>**20081129024639] |
|---|
| 39 | [Fix #2760: deprecate mkNorepType, add mkNoRepType |
|---|
| 40 | Jose Pedro Magalhaes <jpm@cs.uu.nl>**20081121141905] |
|---|
| 41 | [Add more description of what "round" does, from the H98 report |
|---|
| 42 | Ian Lynagh <igloo@earth.li>**20081119143131] |
|---|
| 43 | [re-instate the gcd/Integer and lcm/Integer RULES |
|---|
| 44 | Simon Marlow <marlowsd@gmail.com>**20081120101826 |
|---|
| 45 | Fixes a performance regression between 6.8.3 and 6.10.1 |
|---|
| 46 | ] |
|---|
| 47 | [Change an "undefined" into a more informative error; trac #2782 |
|---|
| 48 | Ian Lynagh <igloo@earth.li>**20081116160228] |
|---|
| 49 | [updating Haddock documentation |
|---|
| 50 | jpm@cs.uu.nl**20081111095023 |
|---|
| 51 | |
|---|
| 52 | Fixed the broken link from Data.Generics to Data.Data. |
|---|
| 53 | ] |
|---|
| 54 | [add GHC.Conc.runSparks (required by GHC patch "Run sparks in batches") |
|---|
| 55 | Simon Marlow <marlowsd@gmail.com>**20081106095419] |
|---|
| 56 | [FIX #2722: update RULES for the Category/Arrow split |
|---|
| 57 | Ross Paterson <ross@soi.city.ac.uk>**20081104144515 |
|---|
| 58 | |
|---|
| 59 | The rule |
|---|
| 60 | |
|---|
| 61 | arr id = id |
|---|
| 62 | |
|---|
| 63 | interacts unpleasantly with the advice to define |
|---|
| 64 | |
|---|
| 65 | id = arr id |
|---|
| 66 | |
|---|
| 67 | in instances of Category that are also instances of Arrow (#2722). |
|---|
| 68 | |
|---|
| 69 | Also changed a couple of >>>'s to .'s in later rules. |
|---|
| 70 | ] |
|---|
| 71 | [Add AnnotationWrapper type so GHC can capture annotation dictionaries during compilation |
|---|
| 72 | Max Bolingbroke <batterseapower@hotmail.com>**20081016122608] |
|---|
| 73 | [docs about how exceptions are handled by forkIO'd threads (#2651) |
|---|
| 74 | Simon Marlow <marlowsd@gmail.com>**20081016100410] |
|---|
| 75 | [Import n_capabilities via import symbol when linking dynamically |
|---|
| 76 | Clemens Fruhwirth <clemens@endorphin.org>**20081013161220] |
|---|
| 77 | [add link to the new syb wiki |
|---|
| 78 | jpm@cs.uu.nl**20081013111605] |
|---|
| 79 | [add readTVarIO :: TVar a -> IO a |
|---|
| 80 | Simon Marlow <marlowsd@gmail.com>**20081010113835] |
|---|
| 81 | [changing haddock links |
|---|
| 82 | jpm@cs.uu.nl**20081010095434] |
|---|
| 83 | [non-GHC: delete unnecessary imports |
|---|
| 84 | Ross Paterson <ross@soi.city.ac.uk>**20081007134809] |
|---|
| 85 | [removed (->) instance from Data.Data |
|---|
| 86 | jpm@cs.uu.nl**20081006075254] |
|---|
| 87 | [added new module Data.Data |
|---|
| 88 | 'Jose Pedro Magalhaes <jpm@cs.uu.nl>'**20081002140535 |
|---|
| 89 | |
|---|
| 90 | The new Data.Data module contains all of Data.Generics.Basics |
|---|
| 91 | and most of Data.Generics.Instances. The missing instances were |
|---|
| 92 | deemed dubious and moved to the syb package. |
|---|
| 93 | ] |
|---|
| 94 | [add new Data.Data module |
|---|
| 95 | 'Jose Pedro Magalhaes <jpm@cs.uu.nl>'**20081002082735] |
|---|
| 96 | [restore Complex's derived Data instance |
|---|
| 97 | 'Jose Pedro Magalhaes <jpm@cs.uu.nl>'**20081002082655] |
|---|
| 98 | [update Data.Generics import |
|---|
| 99 | 'Jose Pedro Magalhaes <jpm@cs.uu.nl>'**20081002082604] |
|---|
| 100 | [Don't use ^(2::Int) in Data.Complex.magnitude; partially fixes trac #2450 |
|---|
| 101 | Ian Lynagh <igloo@earth.li>**20081004142651 |
|---|
| 102 | We still might want to make a RULE for this, so the bug is not fully fixed. |
|---|
| 103 | ] |
|---|
| 104 | [Restore the Haskell 98 behaviour of Show Ratio (#1920) |
|---|
| 105 | Simon Marlow <simonmarhaskell@gmail.com>**20080923134949] |
|---|
| 106 | [Pad version number to 4.0.0.0 |
|---|
| 107 | Ian Lynagh <igloo@earth.li>**20080920155801] |
|---|
| 108 | [TAG 6.10 branch has been forked |
|---|
| 109 | Ian Lynagh <igloo@earth.li>**20080919123437] |
|---|
| 110 | Patch bundle hash: |
|---|
| 111 | 2a7d3c3649e32550b3b509cd92063b22d21ad531 |
|---|