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 Tumbleweed |
Version: 0.3.21 | Vendor: openSUSE |
Release: 2.11 | Build date: Sun Feb 4 17:45:27 2024 |
Group: Unspecified | Build host: reproducible |
Size: 211988 | Source RPM: ghc-safe-0.3.21-2.11.src.rpm |
Packager: http://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 <psimons@suse.com> - Update safe to version 0.3.21 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Thu Jan 18 2024 Peter Simons <psimons@suse.com> - 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 <psimons@suse.com> - 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 <psimons@suse.com> - Updated spec file to conform with ghc-rpm-macros-2.5.2. * Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com> - disable %{ix86} build * Tue Aug 18 2020 Peter Simons <psimons@suse.com> - Replace %setup -q with the more modern %autosetup macro. * Tue Jun 09 2020 psimons@suse.com - 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 psimons@suse.com - 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 <psimons@suse.com> - Drop obsolete group attributes. * Sat Oct 20 2018 Peter Simons <psimons@suse.com> - Use https URL to refer to bugs.opensuse.org.
/usr/lib64/ghc-9.10.1/lib/libHSsafe-0.3.21-IIHIYyox5WKBXs1AP8Dw4i-ghc9.10.1.so /usr/share/licenses/ghc-safe /usr/share/licenses/ghc-safe/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Jan 24 23:52:04 2025