Name : ghc-relude
| |
Version : 0.1.1
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : lp150.4.2
| Date : 2018-11-02 20:37:35
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-relude-0.1.1-lp150.4.2.src.rpm
|
Size : 0.27 MB
| |
Packager : (none)
| |
Summary : Custom prelude from Kowainik
|
Description :
== Goals
* __Avoid all [partial functions](https://www.reddit.com/r/haskell/comments/5n51u3/why_are_partial_functions_as_in_head_tail_bad/)__ (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.Unsafe\' module, 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 () \'
* __Performance.__ Prefer \'Text\' over \'[String](https://www.reddit.com/r/haskell/comments/29jw0s/whats_wrong_with_string/)\', use spaceleak-free functions (like our custom \'sum\' and \'product\').
* __Minimalism__ (low number of dependencies). We don\'t force users of \'relude\' to stick to some specific lens or text formatting or logging library.
* __Convenience__ (like lifted to \'MonadIO\' functions, more reexports). But we want to bring common types and functions (like \'containers\' and \'bytestrng\') into scope because they are used in almost every application anyways.
* __Provide excellent documentation.__
1. Tutorial
2. Migration guide from \'Prelude\'
3. Haddock with examples for (almost) every function (all examples are tested with [`doctest`](http://hackage.haskell.org/package/doctest))
4. Documentation regarding [internal module structure]((http://hackage.haskell.org/package/relude/docs/Relude.html))
5. \'relude\'-specific [HLint](http://hackage.haskell.org/package/hlint) rules: \'[.hlint.yaml](https://github.com/kowainik/relude/blob/master/.hlint.yaml)\'
* __User-friendliness.__ Ability to quickly migrate to \'relude\' if you\'re familiar with the common libraries like \'text\' and \'containers\'.
* __Exploration.__ Experiment with new ideas and proposals without introducing breaking changes.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/12/openSUSE_Leap_15.0/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-relude
ghc-relude(x86-64)
libHSrelude-0.1.1-7GSDXblwLJoig2KQIhikE-ghc8.4.4.so()(64bit)
Requires :