summaryrefslogtreecommitdiff
path: root/libraries/integer-simple/GHC
Commit message (Collapse)AuthorAgeFilesLines
* integer-simple: Add documentation for Integer typeBen Gamari2019-04-031-0/+3
|
* Update Wiki URLs to point to GitLabTakenobu Tani2019-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
* try to fix CIAlec Theriault2019-01-161-0/+2
|
* Match `integer-simple`'s API with `integer-gmp`Alec Theriault2019-01-162-6/+97
| | | | | | | | In `integer-simple`: * Added an efficient `popCountInteger` and `bitInteger` * Added an efficient `gcdInteger` and `lcmInteger` * Made `testBitInteger` more efficient
* Remove OPTIONS_HADDOCK hide in favour for not-homeAdam Sandberg Eriksson2019-01-061-1/+1
| | | | GHC Trac Issues: #15447
* Get rid of some stuttering in comments and docsGabor Greif2017-12-191-1/+1
|
* A bunch of typofixesGabor Greif2017-09-263-3/+3
|
* Rip out __HADDOCK__ referencesBen Gamari2015-11-141-4/+0
| | | | | | | | | | | | | | | As it turns out no one actually sets this macro anyways and haddock now clearly has no trouble parsing this code. Test Plan: Validate Reviewers: hvr, goldfire, austin Reviewed By: austin Subscribers: duncan, thomie, hvr Differential Revision: https://phabricator.haskell.org/D1463
* Remove LANGUAGE pragrams implied by Haskell2010Herbert Valerio Riedel2014-05-141-2/+1
| | | | | | | | | Haskell2010 implies (at least) EmptyDataDecls, ForeignFunctionInterface, PatternGuards, DoAndIfThenElse, and RelaxedPolyRec. This is a follow-up to dd92e2179e3171a0630834b773c08d416101980d Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Use a more sensible `hashInteger` implementationHerbert Valerio Riedel2014-01-031-2/+1
| | | | | | | This makes `hashInteger` behave the same way as `integer-gmp`s `hashInteger`. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Placate clang.Austin Seipp2013-10-261-2/+2
| | | | | | I forgot to push this as part of #8444. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Follow changes in comparison primops (see #6135)Jan Stolarek2013-09-162-44/+43
|
* Comments onlyJan Stolarek2013-08-191-0/+5
| | | | Link to documentation of library in the wiki
* Comparison primops return Int# (Fixes #6135)Jan Stolarek2013-07-033-33/+53
| | | | | For a deatiled discussion of this changes please visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool
* More build fixesIan Lynagh2013-05-191-2/+2
|
* Fix buildIan Lynagh2013-05-191-2/+2
| | | | | | | If we use "smallInteger 0#" in the definitions, then that turns into an Integer literal, but the compiler can't handle Integer literals while compiling the integer package (as it can't look up the mkInteger Id yet).
* fix typoGabor Greif2012-08-291-1/+1
|
* Define testBitInteger; part of #3489. Patch from pumpkingod@gmail.comIan Lynagh2012-08-052-1/+8
|
* track integer-gmp and add 'divInteger', 'modInteger'Gabor Greif2012-07-242-2/+13
|
* remove erroneous '::' in NOINLINE pragmaSimon Marlow2011-10-141-1/+1
|
* Define mkIntegerIan Lynagh2011-09-172-1/+11
| | | | Now used by GHC to generate Integer literals.
* Add NOINLINE pragmasIan Lynagh2011-09-131-0/+38
| | | | Stops code size explosions, and allows the built-in rules to fire
* Update importsIan Lynagh2011-09-131-2/+1
|
* Add a note about why/how we avoid patErrorIan Lynagh2011-08-071-0/+32
|
* Make pattern matches more obviously completeIan Lynagh2011-08-061-38/+58
| | | | Fixes the build when compiling with -O0
* Eliminate orphan instancesIan Lynagh2011-07-303-731/+717
|
* Rename toInt# -> integerToInt for consistencyIan Lynagh2011-07-231-3/+3
|
* Follow library changesIan Lynagh2011-07-221-0/+14
|
* Part of #5122 "Faster conversion between Rational and Double/Float" fixIan Lynagh2011-04-222-0/+209
| | | | From daniel.is.fischer.
* Add extensions to LANGUAGE pragmaIan Lynagh2011-01-111-1/+1
|
* Follow GHC.Bool/GHC.Types mergeIan Lynagh2010-10-231-1/+1
|
* Add an import so the deps get sorted out correctlyIan Lynagh2009-07-221-0/+1
|
* () is now available, so use that instead of our ownIan Lynagh2009-07-221-30/+28
|
* Follow changes in GHC and the other librariesIan Lynagh2009-07-223-22/+120
|
* Fix conversions between Float/Double and simple-integerIan Lynagh2008-06-141-15/+34
|
* Sprinkle on some strictness annotationsIan Lynagh2008-06-021-52/+52
|
* Make the Integer type components strictIan Lynagh2008-06-021-2/+2
|
* Avoid the need for infinite Integers when doing bitwise operationsIan Lynagh2008-06-021-12/+22
|
* Initial commitIan Lynagh2008-04-251-0/+696