Package ghc8.6.4-relude: Information
Source package: ghc8.6.4-relude
Version: 0.5.0-alt1
Build time: Feb 22, 2022, 06:44 PM
Category: Development/Haskell
Report package bugHome page: http://hackage.haskell.org/package/relude
License: MIT
Summary: Custom prelude from Kowainik
Description:
== Goals * 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.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. * Performance. Prefer Text over [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.
Maintainer: Evgeny Sinelnikov