Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-safe | Distribution: openSUSE:Factory:zSystems |
Version: 0.3.21 | Vendor: openSUSE |
Release: 2.7 | Build date: Sun Feb 4 17:45:27 2024 |
Group: Unspecified | Build host: reproducible |
Size: 393676 | Source RPM: ghc-safe-0.3.21-2.7.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/safe | |
Summary: Library of safe (exception free) functions |
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.
BSD-3-Clause
* Sun Feb 04 2024 Peter Simons <[email protected]> - Update safe to version 0.3.21 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Thu Jan 18 2024 Peter Simons <[email protected]> - Update safe to version 0.3.21. 0.3.21, released 2024-01-18 [#34], mark headErr/tailErr as Partial * Sun Jan 14 2024 Peter Simons <[email protected]> - Update safe to version 0.3.20. 0.3.20, released 2024-01-14 [#34], add headErr, tailErr [#33], avoid using head/tail to avoid x-partial * Thu Mar 30 2023 Peter Simons <[email protected]> - Updated spec file to conform with ghc-rpm-macros-2.5.2. * Thu Dec 17 2020 Ondřej Súkup <[email protected]> - disable %{ix86} build * Tue Aug 18 2020 Peter Simons <[email protected]> - Replace %setup -q with the more modern %autosetup macro. * Tue Jun 09 2020 [email protected] - Update safe to version 0.3.19. 0.3.19, released 2020-05-24 [#30], undeprecate maximumDef and friends, fold*1Def * Thu Dec 05 2019 [email protected] - Update safe to version 0.3.18. 0.3.18, released 2019-12-04 [#27], deprecate maximumDef and friends, fold*1Def [#27], add maximumBounded and friends Stop supporting GHC 7.4 to 7.8 * Fri Nov 08 2019 Peter Simons <[email protected]> - Drop obsolete group attributes. * Sat Oct 20 2018 Peter Simons <[email protected]> - Use https URL to refer to bugs.opensuse.org.
/usr/lib64/ghc-9.10.1/lib/libHSsafe-0.3.21-CYOWlPRw6Ej8G770YM6gRO-ghc9.10.1.so /usr/share/licenses/ghc-safe /usr/share/licenses/ghc-safe/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 8 00:25:28 2025