/var/lib/ghc/package.conf.d/safe-0.3.9.conf is in libghc-safe-dev 0.3.9-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | name: safe
version: 0.3.9
id: safe-0.3.9-e3aa437cf6afe091d2ac3ab91bc10ddd
key: safe_Eus5OohxO2XHvdWxKAmhFS
license: BSD3
copyright: Neil Mitchell 2007-2015
maintainer: Neil Mitchell <ndmitchell@gmail.com>
homepage: https://github.com/ndmitchell/safe#readme
synopsis: Library of safe (exception free) functions
description:
A library wrapping @Prelude@/@Data.List@ functions that can throw exceptions, such as @head@ and @!!@.
Each unsafe function has up to four variants, e.g. with @tail@:
.
* @tail :: [a] -> [a]@, raises an error on @tail []@.
.
* @tailMay :: [a] -> /Maybe/ [a]@, turns errors into @Nothing@.
.
* @tailDef :: /[a]/ -> [a] -> [a]@, takes a default to return on errors.
.
* @tailNote :: /String/ -> [a] -> [a]@, takes an extra argument which supplements the error message.
.
* @tailSafe :: [a] -> [a]@, returns some sensible default if possible, @[]@ in the case of @tail@.
.
This package is divided into three modules:
.
* "Safe" contains safe variants of @Prelude@ and @Data.List@ functions.
.
* "Safe.Foldable" contains safe variants of @Foldable@ functions.
.
* "Safe.Exact" creates crashing versions of functions like @zip@ (errors if the lists are not equal) and @take@ (errors if there are not enough elements), then wraps them to provide safe variants.
category: Unclassified
author: Neil Mitchell <ndmitchell@gmail.com>
exposed: True
exposed-modules:
Safe Safe.Exact Safe.Foldable
hidden-modules: Safe.Util
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/safe-0.3.9-Eus5OohxO2XHvdWxKAmhFS
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/safe-0.3.9-Eus5OohxO2XHvdWxKAmhFS
data-dir: /usr/share/safe
hs-libraries: HSsafe-0.3.9-Eus5OohxO2XHvdWxKAmhFS
depends:
base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d
haddock-interfaces: /usr/lib/ghc-doc/haddock/safe-0.3.9/safe.haddock
haddock-html: /usr/share/doc/libghc-safe-doc/html/
|