Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Copy tests from GHC testsuite; part of #1161. | Paolo Capriotti | 2012-03-09 | 278 | -0/+9497 |
| | |||||
* | Make "100e12" not parse as an Integer; part of #5688 | Ian Lynagh | 2012-03-01 | 1 | -6/+1 |
| | | | | The report says that it isn't meant to. | ||||
* | Add a readInteger001 test | Ian Lynagh | 2012-03-01 | 3 | -0/+10 |
| | |||||
* | Change how NaN and Infinity are read by lex | Ian Lynagh | 2012-03-01 | 2 | -21/+6 |
| | | | | | They now get read as Ident's, and the Read Double/Float instances (via convertFrac) handle that Ident specially. | ||||
* | Add a test for reading Doubles | Ian Lynagh | 2012-03-01 | 3 | -0/+18 |
| | |||||
* | Rename lexNum test to lex001, and expand it | Ian Lynagh | 2012-03-01 | 4 | -19/+97 |
| | |||||
* | Refactor number lexing; part of #5688 | Ian Lynagh | 2012-03-01 | 3 | -31/+52 |
| | | | | | This doesn't change the behaviour yet, but I think it's a step in the right direction. | ||||
* | Remove some redundant imports | Ian Lynagh | 2012-02-29 | 4 | -6/+1 |
| | |||||
* | Move chr's definition into a new GHC.Char | Ian Lynagh | 2012-02-28 | 9 | -8/+22 |
| | | | | This eliminates a SOURCE import | ||||
* | Remove some __HADDOCK__ CPP | Ian Lynagh | 2012-02-28 | 7 | -27/+0 |
| | | | | I think it was all to work around problems in old versions of haddock. | ||||
* | Move nocldstop from HsBase.h to HsUnix.h | Ian Lynagh | 2012-02-26 | 1 | -3/+0 |
| | |||||
* | Use CAPI for lseek | Ian Lynagh | 2012-02-26 | 2 | -16/+5 |
| | |||||
* | Remove another unused definition | Ian Lynagh | 2012-02-26 | 1 | -2/+0 |
| | |||||
* | Remove some unused code | Ian Lynagh | 2012-02-26 | 3 | -19/+0 |
| | |||||
* | Convert some FFI bindings to use "value" imports | Ian Lynagh | 2012-02-26 | 2 | -22/+4 |
| | |||||
* | Remove an unsed definition in HsBase.h | Ian Lynagh | 2012-02-22 | 1 | -4/+0 |
| | | | | Bytestring uses it, so I've moved it into that package. | ||||
* | Fix an FFI decl: it should have been using capi but was using ccall | Ian Lynagh | 2012-02-22 | 1 | -1/+1 |
| | |||||
* | Change CSigset into a (empty) datatype | Ian Lynagh | 2012-02-22 | 1 | -2/+3 |
| | | | | | This is necessary now that we no longer allow CTYPE pragmas on type synonyms. | ||||
* | Convert some more declarations to use the CAPI | Ian Lynagh | 2012-02-21 | 4 | -18/+13 |
| | |||||
* | Redo the sigset capi changes | Ian Lynagh | 2012-02-21 | 2 | -26/+4 |
| | | | | | Now that we have the CTYPE pragma we can do this in such a way that it doesn't break the build on OS X. | ||||
* | Remove Control.OldException | Ian Lynagh | 2012-02-18 | 2 | -807/+0 |
| | |||||
* | Fix build on 32bit platforms | Ian Lynagh | 2012-02-18 | 1 | -3/+1 |
| | |||||
* | Use the new unsigned quotRem primop | Ian Lynagh | 2012-02-17 | 1 | -7/+19 |
| | |||||
* | Merge branch 'master' of http://darcs.haskell.org/packages/base | Simon Peyton Jones | 2012-02-17 | 3 | -12/+12 |
|\ | |||||
| * | Add CTYPE pragmas for GHC types | Ian Lynagh | 2012-02-16 | 3 | -12/+12 |
| | | |||||
* | | Eta expand unsafeCoerce and add a pointer to the Note | Simon Peyton Jones | 2012-02-17 | 1 | -1/+4 |
| | | |||||
* | | Use throwIO rather than throw where possible | Simon Peyton Jones | 2012-02-17 | 1 | -8/+8 |
|/ | | | | This makes exceptions more predictable. | ||||
* | Merge branch 'master' of http://darcs.haskell.org/packages/base | Ian Lynagh | 2012-02-15 | 1 | -2/+5 |
|\ | |||||
| * | Fix documentation of minimal complete definition of Bits instances | Johan Tibell | 2012-02-14 | 1 | -1/+3 |
| | | | | | | | | | | | | Added testBit, bit, and popCount to the required set. They no longer have default implementations as the Num constraint was removed from the Bits class. | ||||
| * | Fix bug in popCountDefault. Fixes #5872 | Johan Tibell | 2012-02-14 | 1 | -1/+2 |
| | | | | | | | | | | Also add an INLINABLE pragma so that the function can be specialized at the call site. | ||||
* | | Define a divModInt function that only does 1 division | Ian Lynagh | 2012-02-14 | 3 | -11/+27 |
| | | |||||
* | | Use the new quotRemInt# primop | Ian Lynagh | 2012-02-14 | 4 | -16/+29 |
|/ | |||||
* | System.Environment: improve 'getEnv' doc to mention closest 'setEnv' we have ↵ | gwern | 2012-02-13 | 1 | -6/+6 |
| | | | | ('System.Posix.putEnv') | ||||
* | Bump base's version to match 7.4.1's | Ian Lynagh | 2012-02-10 | 1 | -1/+1 |
| | |||||
* | Move Text.Printf tests from testsuite; part of #1161 | Ian Lynagh | 2012-02-03 | 4 | -0/+22 |
| | |||||
* | num009 now only fails on OS X i386, not OS X amd64 | Ian Lynagh | 2012-01-29 | 1 | -1/+1 |
| | |||||
* | Foldable typeclass: make foldl' and foldr' class methods; fixes trac #5538 | Ian Lynagh | 2012-01-24 | 1 | -14/+16 |
| | |||||
* | Added missing Functor, Applicative, Alternative and MonadPlus instances ↵ | Bas van Dijk | 2012-01-24 | 2 | -1/+42 |
| | | | | Added Applicative and Alternative instances for ReadP and ReadPrec Added Functor, Applicative, Alternative and MonadPlust instances for ArrowMonadx | ||||
* | Expand num009 to test more values, and add mingw32 output | Simon Marlow | 2012-01-16 | 3 | -10/+34 |
| | | | | | | | | | | This test checks that calling trig functions via the FFI gives the same results as the Prelude versions. But it uses an extreme value to test: 1e20, and on Windows this gives slightly different results (for unknown reasons). However, using less extreme values gives reasonable results, so I've added more values to the test to check that the discrepancy is limited to the extreme - indeed it first goes wrong around 1e19, values below that seem to be fine. | ||||
* | Use sharing in the Alternative instance of Maybe | Bas van Dijk | 2012-01-14 | 1 | -2/+2 |
| | |||||
* | Remove Num superclass of Bits Add and export bitDefault, testBitDefault and ↵ | Bas van Dijk | 2012-01-14 | 4 | -14/+90 |
| | | | | popCountDefault from Data.Bits. | ||||
* | Moved the instances from Control.Monad.Instances to GHC.Base and Data.Either | Bas van Dijk | 2012-01-13 | 5 | -27/+21 |
| | |||||
* | Add <> as an alias for mappend | Johan Tibell | 2012-01-07 | 1 | -0/+8 |
| | |||||
* | Removing the MonadGroup class. This is to reflect the removal of the default ↵ | George Giorgidze | 2012-01-07 | 2 | -37/+0 |
| | | | | grouping clause from the SQL-like comprehension notation ; | ||||
* | Export setNumCapabilities | Simon Marlow | 2012-01-03 | 1 | -0/+1 |
| | | | | | I hadn't noticed that we already have getNumCapabilities here, so we should also have setNumCapabilities. | ||||
* | Export "readEither" and add "readMaybe". | Iavor S. Diatchki | 2011-12-22 | 1 | -0/+13 |
| | | | | | | | | | | | This commit implements the change discussed in the following thread on the Haskell libraries list: http://www.haskell.org/pipermail/libraries/2011-December/thread.html#17290 NOTE: This only implements the change for GHC, but the change makes sense for Hugs too... Perhaps we should simply re-implement 'readEither' in terms of 'reads'? | ||||
* | Re-export Constraint from GHC.Exts | Jose Pedro Magalhaes | 2011-12-22 | 1 | -1/+3 |
| | |||||
* | update documentation for getNumCapabilities and setNumCapabilities | Simon Marlow | 2011-12-19 | 1 | -21/+11 |
| | |||||
* | Merge branch 'master' of http://darcs.haskell.org/packages/base | Ian Lynagh | 2011-12-18 | 1 | -0/+8 |
|\ | |||||
| * | Document that -T RTS flag is necessary. | Edward Z. Yang | 2011-12-16 | 1 | -0/+8 |
| | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu> |