relude is a safe, performant, user-friendly and lightweight Haskell standard library. The default Prelude is not perfect and doesn’t always satisfy one’s needs. At this stage, you may want to try an alternative prelude library. relude has some strong goals and principles that it sticks to. That principles define the library's decisions and might tell you more about the priorities of the library. You can be more productive with a “non-standard” standard library, and relude helps you with writing safer and more efficient code faster. Usage of partial functions can lead to unexpected bugs and runtime exceptions in pure code. The types of partial functions lie about their behaviour. 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.

Features

  • We prefer Text over String, use space-leaks-free functions
  • We do not force users of relude to stick to any specific lens or text formatting or logging library
  • We want to bring commonly used types and functions into scope, and make available functions easier to use
  • Anyone should be able to quickly migrate to relude
  • Haddock for every function with examples tested by doctest
  • Functions like liftIO, fromMaybe, sortWith are available by default as well

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow relude

relude Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of relude!

Additional Project Details

Programming Language

Haskell

Related Categories

Haskell Libraries

Registered

2023-04-12