Sat, 21 Nov 2026 07:29:27 UTC Log in
Library of safe (exception free) functions 49.12 KB built 2026-10-14 02:52:25 GMT

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.

Dependencies

16 total
Requires13
  • libHSbase-4.20.2.0-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-bignum-1.3-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-internal-9.1003.0-inplace-ghc9.10.3.so()(64bit)
  • libHSghc-prim-0.12.0-inplace-ghc9.10.3.so()(64bit)
  • libc.so.6()(64bit)
  • libc.so.6(GLIBC_2.27)(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)
Provides3
  • ghc-safe = 0.3.21-8.fc45
  • ghc-safe(riscv-64) = 0.3.21-8.fc45
  • libHSsafe-0.3.21-7nQlLgj4WAFA1yh7GNSY9e-ghc9.10.3.so()(64bit)
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

3
Files 1–3 of 3

Component of

buildroots that installed this RPM
Buildroot descending sort Created State
f45-build-34721-690 2026-10-17 20:11:36 expired
f45-build-34589-687 2026-10-17 19:39:14 expired
f45-build-21335-581 2026-10-16 15:11:46 expired
f45-build-14102-456 2026-10-14 13:03:30 expired
f45-build-10931-425 2026-10-14 03:28:50 expired
f45-build-10919-425 2026-10-14 03:25:39 expired
f45-build-10912-425 2026-10-14 03:25:38 expired
Buildroots 1–7 of 7