The unsafe package

[Tags: bsd3, library]

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 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.


Change logNone available
Dependenciesbase (==4.*) [details]
AuthorHenning Thielemann <>
MaintainerHenning Thielemann <>
Home page
Source repositorythis: darcs get --tag 0.0
head: darcs get
UploadedSun Apr 21 09:58:44 UTC 2013 by HenningThielemann
Downloads755 total (27 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees