relude
relude copied to clipboard
π Safe, performant, user-friendly and lightweight Haskell standard library
Resolves #420 ## Checklist: ### HLint - [ ] I've changed the exposed interface (add new reexports, remove reexports, rename reexported things, etc.). - [ ] I've updated [`hlint.dhall`](https://github.com/kowainik/relude/blob/master/hlint/hlint.dhall) accordingly...
GHC 9.4.2 is now a stable release.
[vector](https://hackage.haskell.org/package/vector) is quite a useful package that can be included as well
Hi @vrom911 :wave: Long-time fan of Kowainik, here's a first contribution. I was writing something with Relude, and had a sudden brainfart failing to remember how to say `toList` :sweat_smile:...
Relude reexport the [`ExceptT`](https://hackage.haskell.org/package/relude-1.2.0.0/docs/Relude-Monad-Reexport.html#t:ExceptT) monad transformer (together with `runExceptT`). But that's all. The typeclasses `MonadReader`, `MonadState`, `MonadIO` and `MonadTrans` are all included in Relude, but not [`MonadError`](https://hackage.haskell.org/package/mtl-2.2.2/docs/Control-Monad-Except.html#t:MonadError). How are we...
Most other nubbing functions are as lazy as possible, but `sortNub` takes `O(n log n)` time to produce the first element when it can be done in `O(n)`. I'd expect...
`ordNubOn` and such exist or don't depending on the version of `containers`. This is bad behavior. Either include fall-back implementations or set the minimum bound high enough to remove the...
Hi! I've started using Relude and noticed that quite a few functions use `String` over `Text`. In my particular case I used `getArgs` which returns `[String]`, `die` which takes a...
Following up to #372 and #407, consider a snippet ```haskell [β¦] do mRssPages In the use of βreadFileTextβ > "'readFileText' depends on the system's locale settings and can throw unexpected...