relude: Custom prelude from Kowainik
Avoid all partial functions (like
head :: [a] -> a). The types of partial functions lie about their behavior and usage of such functions can lead to the unexpected bugs. Though you can still use some unsafe functions from
Relude.Unsafemodule, but they are not exported by default.
Type-safety. We like to make invalid states unrepresantable. And if it's possible to express this concept through the types then we will do it. Example:
whenNotNull :: Applicative f => [a] -> (NonEmpty a -> f ()) -> f ()
String, use spaceleak-free functions (like our custom
Minimalism (low number of dependencies). We don't force users of
reludeto stick to some specific lens or text formatting or logging library.
Convenience (like lifted to
MonadIOfunctions, more reexports). But we want to bring common types and functions (like
bytestrng) into scope because they are used in almost every application anyways.
Provide excellent documentation.
Migration guide from
Haddock with examples for (almost) every function (all examples are tested with <code>doctest</code>)
Documentation regarding internal module structure)
User-friendliness. Ability to quickly migrate to
reludeif you're familiar with the common libraries like
Exploration. Experiment with new ideas and proposals without introducing breaking changes.
[Skip to Readme]
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
|Versions [RSS]||0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0.0, 0.7.0.0, 126.96.36.199, 188.8.131.52, 184.108.40.206|
|Dependencies||base (>=4.9 && <4.16), bytestring, containers, deepseq, ghc-prim (>=0.4.0.0), hashable, mtl, stm, text, transformers, unordered-containers, utf8-string [details]|
|Copyright||2016 Stephen Diehl, 2016-2018 Serokell, 2018 Kowainik|
|Author||Stephen Diehl, @serokell, Kowainik|
|Revised||Revision 2 made by sjakobi at 2022-09-07T05:19:55Z|
|Source repo||head: git clone email@example.com:kowainik/relude.git|
|Uploaded||by shersh at 2018-08-19T06:25:39Z|
|Distributions||Arch:0.7.0.0, Fedora:0.7.0.0, LTSHaskell:220.127.116.11, NixOS:18.104.22.168|
|Reverse Dependencies||84 direct, 35 indirect [details]|
|Downloads||14046 total (201 in the last 30 days)|
|Rating||2.5 (votes: 3) [estimated by Bayesian average]|
|Status||Docs available [build log]
Last success reported on 2018-08-19 [all 1 reports]