summaryrefslogtreecommitdiff
path: root/libraries/integer-simple
Commit message (Collapse)AuthorAgeFilesLines
* Package keys (for linking/type equality) separated from package IDs.Edward Z. Yang2014-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch set makes us no longer assume that a package key is a human readable string, leaving Cabal free to "do whatever it wants" to allocate keys; we'll look up the PackageId in the database to display to the user. This also means we have a new level of qualifier decisions to make at the package level, and rewriting some Safe Haskell error reporting code to DTRT. Additionally, we adjust the build system to use a new ghc-cabal output Make variable PACKAGE_KEY to determine library names and other things, rather than concatenating PACKAGE/VERSION as before. Adds a new `-this-package-key` flag to subsume the old, erroneously named `-package-name` flag, and `-package-key` to select packages by package key. RFC: The md5 hashes are pretty tough on the eye, as far as the file system is concerned :( ToDo: safePkg01 test had its output updated, but the fix is not really right: the rest of the dependencies are truncated due to the fact the we're only grepping a single line, but ghc-pkg is wrapping its output. ToDo: In a later commit, update all submodules to stop using -package-name and use -this-package-key. For now, we don't do it to avoid submodule explosion. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonpj, simonmar, hvr, austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D80
* 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>
* Set cabal files to default-language:Haskell2010Herbert Valerio Riedel2014-05-141-6/+6
| | | | | | | This is a first step towards eliminating `default-extensions` in favour of per-file declared `{-# LANGUAGE ... #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Update Cabal source-repository entries (re #8545)Herbert Valerio Riedel2014-04-191-1/+2
| | | | | | | | This adapts the source-repository entries to match the new situation of base.git, ghc-prim.git, integer-gmp.git, integer-simple.git, and template-haskell.git being folded into ghc.git 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
|
* Update Git repo URL in `.cabal` fileHerbert Valerio Riedel2013-09-111-1/+1
|
* 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).
* Bump version number following new policyIan Lynagh2012-11-301-1/+1
| | | | | We now keep the HEAD version numbers as values which would be suitable for immediate release.
* Add comment to .cabal file saying what GHC 7.6.1 shipped withIan Lynagh2012-11-301-0/+1
|
* 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
|
* Bump version to 0.1.0.1Paolo Capriotti2012-07-101-1/+1
|
* Update .gitignore.Paolo Capriotti2012-03-061-0/+3
|
* 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
|
* Remove -Werror from the cabal fileIan Lynagh2011-07-291-1/+1
|
* 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-223-0/+211
| | | | From daniel.is.fischer.
* Bump Cabal version we implement, and add source repository to .cabal fileIan Lynagh2011-04-051-1/+5
|
* Add extensions to LANGUAGE pragmaIan Lynagh2011-01-111-1/+1
|
* Follow GHC.Bool/GHC.Types mergeIan Lynagh2010-10-231-1/+1
|
* Pad version to 0.1.0.0Ian Lynagh2009-09-201-1/+1
|
* Add NoImplicitPrelude to the extensions usedIan Lynagh2009-07-221-1/+2
|
* 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-224-26/+126
|
* Fix conversions between Float/Double and simple-integerIan Lynagh2008-06-141-15/+34
|
* Sprinkle on some strictness annotationsIan Lynagh2008-06-022-53/+53
|
* 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-254-0/+748