summaryrefslogtreecommitdiff
path: root/libraries/base/Unsafe
Commit message (Collapse)AuthorAgeFilesLines
* Spelling in commmentsSimon Peyton Jones2013-10-161-3/+3
|
* Constant-fold `__GLASGOW_HASKELL__` CPP conditionalsHerbert Valerio Riedel2013-09-171-4/+1
| | | | | | | | | | 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-5/+0
| | | | | | | For rationale. see http://permalink.gmane.org/gmane.comp.lang.haskell.ghc.devel/2349 Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Fix build order when building with integer-simpleIan Lynagh2013-05-191-0/+1
| | | | | The problem hasn't shown up with integer-gmp, but I can't see why it couldn't happen in that case too.
* Remove nhc98-specific files and contentIan Lynagh2013-02-151-4/+0
|
* typosGabor Greif2013-01-251-2/+2
|
* Grotesque hack on Unsafe.CoerceSimon Peyton Jones2013-01-251-1/+24
| | | | | | | | | | | | | | | | | The hack is described in detail in Note [Meta-hack for coerce]. It's a consequence of this, perfectly legitimate, commit: commit 7a1480c7c590d4d2fa7a105a4eebf299e921e056 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Tue Jan 22 22:43:22 2013 +0000 Allow eta-reduction of eval'd functions if of arity 1 See Note [Eta reduction of an eval'd function] in CoreUtils. This doesn't fix Trac #7542, but that was the ticket that pointed out this infelicity. compiler/coreSyn/CoreUtils.lhs | 24 ++++++++++++++++++++++--
* Eta expand unsafeCoerce and add a pointer to the NoteSimon Peyton Jones2012-02-171-1/+4
|
* Update base for latest Safe Haskell.David Terei2011-10-251-0/+3
|
* Update base for new Safe Haskell designDavid Terei2011-10-251-0/+1
|
* Use explicit language extensions & remove extension fields from base.cabalsimonpj@microsoft.com2011-01-281-1/+2
| | | | | | | | | | 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.
* Tweak an importIan Lynagh2008-08-061-1/+1
|
* Avoid using deprecated flagsIan Lynagh2008-06-161-1/+1
|
* Improve docs for unsafeCoerceMalcolm.Wallace@cs.york.ac.uk2008-04-221-2/+10
| | | | | Make it clear that compilers differ. Point to GHC docs in GHC.Base, and add a short description of nhc98's representation-safe conversions.
* Spelling onlysimonpj@microsoft.com2008-04-221-1/+1
|
* In docs for unsafeCoerce, point to unsafeCoerce#simonpj@microsoft.com2008-04-211-0/+3
|
* Hugs only: fix location of unsafeCoerceRoss Paterson2007-04-061-1/+1
|
* Unsafe.Coerce doesn't need PreludeIan Lynagh2007-04-051-0/+1
|
* put 'unsafeCoerce' in a standard locationMalcolm.Wallace@cs.york.ac.uk2006-11-131-0/+30