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

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try 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