Thu, 01 Aug 2024 11:59:04 UTC | login

Information for RPM ghc-relude-1.2.0.0-3.fc40.src.rpm

ID1180278
Nameghc-relude
Version1.2.0.0
Release3.fc40
Epoch
Archsrc
SummarySafe, performant, user-friendly and lightweight Haskell Standard Library
Description'relude' is an alternative prelude library. If you find the default 'Prelude' unsatisfying, despite its advantages, consider using 'relude' instead. == Relude goals and design principles * Productivity: You can be more productive with a "non-standard" standard library, and 'relude' helps you with writing safer and more efficient code faster. * Total programming: Usage of partial functions can lead to unexpected bugs and runtime exceptions in pure code. The types of partial functions lie about their behavior. And even if it is not always possible to rely only on total functions, 'relude' strives to encourage best-practices and reduce the chances of introducing a bug. * Type-safety: We use the "make invalid states unrepresentable" motto as one of our guiding principles. If it is possible, we express this concept through the types. Example: ' whenNotNull :: Applicative f => [a] -> (NonEmpty a -> f ()) -> f () ' * Performance: We prefer 'Text' over 'String', use space-leaks-free functions (e.g. our custom performant 'sum' and 'product'), introduce 'INLINE' and 'SPECIALIZE' pragmas where appropriate, and make efficient container types (e.g. 'Map', 'HashMap', 'Set') more accessible. * Minimalism (low number of dependencies): We do not force users of 'relude' to stick to any specific lens or text formatting or logging library. Where possible, 'relude' depends only on boot libraries. * Convenience: Despite minimalism, we want to bring commonly used types and functions into scope, and make available functions easier to use. * Excellent documentation: 1. Tutorial 2. Migration guide from 'Prelude' 3. Haddock for every function with examples tested by doctest 4. Documentation regarding internal module structure 5. 'relude'-specific HLint rules * User-friendliness: Anyone should be able to quickly migrate to 'relude'. Only some basic familiarity with the common libraries like 'text' and 'containers' should be enough (but not necessary). * Exploration: We have space to experiment with new ideas and proposals without introducing breaking changes. 'relude' uses the approach with 'Extra.*' modules which are not exported by default. The chosen approach makes it quite easy for us to provide new functionality without breaking anything and let the users decide to use it or not.
Build Time2024-02-15 12:35:39 GMT
Size90.62 KB
9a6b50f8a193df5f967241fe81f0fbf9
LicenseMIT
Buildrootf40-build-776524-128863
Provides
ghc-relude = 1.2.0.0-3.fc40
ghc-relude-debuginfo = 1.2.0.0-3.fc40
ghc-relude-debugsource = 1.2.0.0-3.fc40
ghc-relude-devel = 1.2.0.0-3.fc40
ghc-relude-prof = 1.2.0.0-3.fc40
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
ghc-Cabal-devel
ghc-base-devel
ghc-base-prof
ghc-bytestring-devel
ghc-bytestring-prof
ghc-containers-devel
ghc-containers-prof
ghc-deepseq-devel
ghc-deepseq-prof
ghc-hashable-devel
ghc-hashable-prof
ghc-mtl-devel
ghc-mtl-prof
ghc-rpm-macros
ghc-stm-devel
ghc-stm-prof
ghc-text-devel
ghc-text-prof
ghc-transformers-devel
ghc-transformers-prof
ghc-unordered-containers-devel
ghc-unordered-containers-prof
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 2 of 2
Name ascending sort Size
ghc-relude.spec6.92 KB
relude-1.2.0.0.tar.gz70.54 KB
Component of No Buildroots