unsafe: Unified interface to unsafe functions

[ bsd3, control, library ] [ Propose Tags ] [ Report a vulnerability ]

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 System.Unsafe 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 rename-unsafe.sh. 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 darcs-scripts package.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0
Dependencies base (>=4 && <5) [details]
Tested with ghc ==7.0.4, ghc ==7.2.2, ghc ==7.4.1
License BSD-3-Clause
Author Henning Thielemann <haskell@henning-thielemann.de>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Category Control
Home page http://code.haskell.org/~thielema/unsafe/
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 2013-04-21T09:58:44Z
Distributions Arch:0.0, Debian:0.0, LTSHaskell:0.0, NixOS:0.0, Stackage:0.0
Reverse Dependencies 12 direct, 102 indirect [details]
Downloads 11262 total (41 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]