unsafe: Unified interface to unsafe functions
SafeHaskell introduced the notion of safe and unsafe modules.
In order to make as many as possible modules "safe",
the well-known unsafe functions were moved to distinguished modules.
This makes it hard to write packages that work
with both old and new versions of GHC.
This package provides a single module
that exports the unsafe functions from the base package.
It provides them in a style ready for qualification,
that is, you should import them by
import qualified System.Unsafe as Unsafe
The package also contains a script called
It replaces all occurrences of the original identifiers
with the qualified identifiers from this package.
You still have to adapt the import commands.
It uses the
darcs-replace-rec script from the
|Dependencies||base (==4.*) [details]|
|Author||Henning Thielemann <email@example.com>|
|Maintainer||Henning Thielemann <firstname.lastname@example.org>|
|Source repo||this: darcs get http://code.haskell.org/~thielema/unsafe/ --tag 0.0
head: darcs get http://code.haskell.org/~thielema/unsafe/
|Uploaded||by HenningThielemann at Sun Apr 21 09:58:44 UTC 2013|
|Distributions||Arch:0.0, LTSHaskell:0.0, NixOS:0.0, Stackage:0.0|
|Downloads||1689 total (47 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI
For package maintainers and hackage trustees