INFO
Name: ghc-safe
Version: 0.3.21-1.el10_0
Arch: ppc64le
Summary: Library of safe (exception free) functions
License: BSD-3-Clause
Vendor: Fedora Project
Build Host: buildvm-ppc64le-31.iad2.fedoraproject.org
Build Date: Fri May 2 16:34:57 2025
Size: 277875
URL: https://hackage.haskell.org/package/safe
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.
FILES
/usr/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/673da78dd877f1faaac4414f85346b15d773f8
/usr/lib64/ghc-9.6.6/lib/libHSsafe-0.3.21-F46Xmb3LoXlCc8daI6vSkg-ghc9.6.6.so
/usr/share/licenses/ghc-safe
/usr/share/licenses/ghc-safe/LICENSE
REQUIRES
libHSbase-4.18.2.1-ghc9.6.6.so()(64bit)
libHSghc-bignum-1.3-ghc9.6.6.so()(64bit)
libHSghc-prim-0.10.0-ghc9.6.6.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.17)(64bit)
libc.so.6(GLIBC_ABI_DT_RELR)(64bit)
libgmp.so.10()(64bit)
libm.so.6()(64bit)
rpmlib(CompressedFileNames) 3.0.4-1
rpmlib(FileDigests) 4.6.0-1
rpmlib(PayloadFilesHavePrefix) 4.0-1
rpmlib(PayloadIsZstd) 5.4.18-1
rtld(GNU_HASH)
PROVIDES
ghc-safe 0.3.21-1.el10_0
ghc-safe(ppc-64) 0.3.21-1.el10_0
libHSsafe-0.3.21-F46Xmb3LoXlCc8daI6vSkg-ghc9.6.6.so()(64bit)
CONFIG FILES
/usr/lib/.build-id a
/usr/lib/.build-id/83 a
/usr/lib/.build-id/83/673da78dd877f1faaac4414f85346b15d773f8 a
/usr/lib64/ghc-9.6.6/lib/libHSsafe-0.3.21-F46Xmb3LoXlCc8daI6vSkg-ghc9.6.6.so
/usr/share/licenses/ghc-safe
/usr/share/licenses/ghc-safe/LICENSE l
LICENSE FILES
BSD-3-Clause
|