summaryrefslogtreecommitdiff
path: root/libraries/base/System/Mem.hs
Commit message (Collapse)AuthorAgeFilesLines
* base: export allocation counter/limit API from System.MemSimon Marlow2015-09-231-5/+16
| | | | | | | | | | | Previously it was only available from GHC.Conc, but it makes sense for it to be available from a more official place where people might find it. While I was here, I improved the docs a little. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D1272
* Convert `/Since: .../` to new `@since ...` syntaxHerbert Valerio Riedel2014-12-161-2/+2
| | | | | | Starting with Haddock 2.16 there's a new built-in support for since-annotations Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`)
* Remove redundant explicit `Prelude` importsHerbert Valerio Riedel2014-10-191-1/+0
| | | | Since they're implied by the lack of `NoImplicitPrelude`
* Add a couple of `/Since: 4.7.0.0/` annotationsHerbert Valerio Riedel2013-11-011-0/+4
| | | | Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix name of minor GC function.Austin Seipp2013-09-301-1/+1
| | | | | | I accidentally forgot to commit this. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Expose performMinorGC (#8257)Austin Seipp2013-09-291-6/+14
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Drop redundant `{-# LANGUAGE #-}` pragmasHerbert Valerio Riedel2013-09-281-1/+0
| | | | | | | | | | | | | This removes language pragmas from Haskell modules which are implicitly active with `default-language: Haskell2010`. Specifically, the following language extension pragmas are removed by this commit: - PatternGuards - ForeignFunctionInterface - EmptyDataDecls - NoBangPatterns Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Constant-fold `__GLASGOW_HASKELL__` CPP conditionalsHerbert Valerio Riedel2013-09-171-6/+0
| | | | | | | | | | Now that HUGS and NHC specific code has been removed, this commit "folds" the now redundant `#if((n)def)`s containing `__GLASGOW_HASKELL__`. This renders `base` officially GHC only. This commit also removes redundant `{-# LANGUAGE CPP #-}`. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Remove Hugs98 specific codeHerbert Valerio Riedel2013-09-171-4/+0
| | | | | | | For rationale. see http://permalink.gmane.org/gmane.comp.lang.haskell.ghc.devel/2349 Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Remove nhc98-specific files and contentIan Lynagh2013-02-151-4/+0
|
* Remove commented types in module export listsIan Lynagh2012-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These comments are rather less useful now that haddock can give docs with the same informatino in the module synopsis. Having to maintain them when making changes to the library is a pain, and when people forget about doing so there is nothing that checks that the comments are right, so mistakes tend to linger. Of the comments that my script detected, 78 of 684 were already incorrect in one way or another, e.g. missing context: Text.Show.showsPrec Comment type: Int -> a -> ShowS Actual type: Show a => Int -> a -> ShowS wrong context: Numeric.readInt Comment type: Integral a => a -> (Char -> Bool) -> (Char -> Int) -> ReadS a Actual type: Num a => a -> (Char -> Bool) -> (Char -> Int) -> ReadS a not following a class change (e.g. Num losing its Eq superclass): Text.Read.Lex.readOctP Comment type: Num a => ReadP a Actual type: (Eq a, Num a) => ReadP a not following the Exceptions change: GHC.Conc.childHandler Comment type: Exception -> IO () Actual type: SomeException -> IO () or just always been wrong: GHC.Stable.deRefStablePtr Comment type: StablePtr a -> a Actual type: StablePtr a -> IO a
* Update base for latest Safe Haskell.David Terei2011-10-251-1/+1
|
* SafeHaskell: Added SafeHaskell to baseDavid Terei2011-06-181-0/+1
|
* Use explicit language extensions & remove extension fields from base.cabalsimonpj@microsoft.com2011-01-281-0/+6
| | | | | | | | | | Add explicit {-# LANGUAGE xxx #-} pragmas to each module, that say what extensions that module uses. This makes it clearer where different extensions are used in the (large, variagated) base package. Now base.cabal doesn't need any extensions field Thanks to Bas van Dijk for doing all the work.
* [project @ 2003-12-22 10:56:42 by simonmar]simonmar2003-12-221-1/+1
| | | | performGC should really do a major GC - this was broken at some point.
* [project @ 2002-10-11 11:05:20 by malcolm]malcolm2002-10-111-0/+4
| | | | Make some more libraries buildable with nhc98.
* [project @ 2002-07-16 16:08:58 by ross]ross2002-07-161-0/+4
| | | | | Add imports of Hugs.* modules (wrapped in #ifdef __HUGS__) to make these modules work with Hugs.
* [project @ 2002-05-27 14:36:51 by simonmar]simonmar2002-05-271-0/+1
| | | | Documentation
* [project @ 2002-05-09 13:16:29 by simonmar]simonmar2002-05-091-1/+1
| | | | Rename libraries/core to libraries/base in the module headers.
* [project @ 2002-04-26 13:34:05 by simonmar]simonmar2002-04-261-2/+0
| | | | | Remove \$Id\$ from all files: it isn't particularly useful (see previous discussion on cvs-ghc@haskell.org), and it confuses Haddock.
* [project @ 2002-04-24 16:31:37 by simonmar]simonmar2002-04-241-2/+2
| | | | | Add the single character '|' to the header comment of each module so that Haddock will parse it as the module documentation.
* [project @ 2002-04-24 16:09:12 by simonmar]simonmar2002-04-241-2/+2
| | | | Update foreign import syntax
* [project @ 2002-02-13 12:17:14 by simonmar]simonmar2002-02-131-1/+3
| | | | import Prelude
* [project @ 2002-02-12 10:50:03 by simonmar]simonmar2002-02-121-0/+23
The new home for performGC.