{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:hackage/relude","name":"relude","description":"relude is an alternative prelude library. If you find the default\nPrelude unsatisfying, despite its advantages, consider using relude\ninstead.\n\nProductivity. You can be more productive with a \"non-standard\" standard\n  library, and relude helps you with writing safer and more\n  efficient code faster.\n\nTotal programming. Usage of partial functions\n  can lead to unexpected bugs and runtime exceptions in pure\n  code. The types of partial functions lie about their behaviour. And\n  even if it is not always possible to rely only on total functions,\n  relude strives to encourage best-practices and reduce the\n  chances of introducing a bug.\n\nType-safety. We use the \"make invalid states unrepresentable\" motto as one\n  of our guiding principles. If it is possible, we express this concept through the\n  types.\n\nExample:  whenNotNull :: Applicative f =\u003e [a] -\u003e (NonEmpty a -\u003e f ()) -\u003e f () \n\nPerformance. We prefer Text over String,\n  use space-leaks-free functions (e.g. our custom performant sum and product),\n  introduce {-# INLINE #-} and {-# SPECIALIZE #-} pragmas where\n  appropriate, and make efficient container types\n  (e.g. Map, HashMap, Set) more accessible.\n\nMinimalism (low number of dependencies). We do not force users of\n  relude to stick to any specific lens or text formatting or logging\n  library. Where possible, relude depends only on boot libraries.\n  The Dependency graph\n  of relude can give you a clearer picture.\n\nConvenience. Despite minimalism, we want to bring commonly used\n   types and functions into scope, and make available functions easier\n   to use. Some examples of conveniences:\n\nNo need to add containers, unordered-containers, text\n   and bytestring to dependencies in your .cabal file to\n   use the main API of these libraries\n\nNo need to import types like NonEmpty, Text, Set, Reader[T], MVar, STM\n\nFunctions like liftIO, fromMaybe, sortWith are available by default as well\n\nIO actions are lifted to MonadIO\n\nExcellent documentation.\n\nTutorial\n\nMigration guide from Prelude\n\nHaddock for every function with examples tested by\n   doctest.\n\nDocumentation regarding internal module structure\n\nrelude-specific HLint rules: .hlint.yaml\n\nUser-friendliness. Anyone should be able to quickly migrate to relude. Only\n  some basic familiarity with the common libraries like text and containers\n  should be enough (but not necessary).\n\nExploration. We have space to experiment with new ideas and proposals\n  without introducing breaking changes. relude uses the approach with\n  Extra.* modules which are not exported by default. The chosen approach makes it quite\n  easy for us to provide new functionality without breaking anything and let\n  the users decide to use it or not.","version":"0.5.0","softwareVersion":"0.5.0","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/kowainik/relude","issueTracker":"https://github.com/kowainik/relude/issues","url":"https://github.com/kowainik/relude","keywords":["library","mit","prelude","Propose Tags"],"programmingLanguage":{"@type":"ComputerLanguage","name":"Haskell"},"maintainer":[{"@type":"Person","name":"Bodigrim"},{"@type":"Person","name":"vrom911"},{"@type":"Person","name":"tomjaguarpaw"}],"author":[{"@type":"Person","name":"Bodigrim"},{"@type":"Person","name":"vrom911"},{"@type":"Person","name":"tomjaguarpaw"}],"copyrightHolder":[{"@type":"Person","name":"Bodigrim"},{"@type":"Person","name":"vrom911"},{"@type":"Person","name":"tomjaguarpaw"}],"dateCreated":"2018-07-21","dateModified":"2019-03-18","datePublished":"2019-03-18","copyrightYear":2018,"downloadUrl":"https://hackage.haskell.org/package/relude-0.5.0/relude-0.5.0.tar.gz","applicationCategory":"hackage","runtimePlatform":"hackage","developmentStatus":"active","sameAs":["https://hackage.haskell.org/package/relude"],"funder":[{"@type":"Organization","url":"https://ko-fi.com/kowainik"},{"@type":"Organization","url":"https://github.com/sponsors/vrom911"}],"https://www.w3.org/ns/activitystreams#likes":742,"https://forgefed.org/ns#forks":80}