relude
🌀 Safe, performant, user-friendly and lightweight Haskell standard library (by kowainik)
Our great sponsors
relude | semigroupoids | |
---|---|---|
5 | 2 | |
687 | 75 | |
0.4% | - | |
6.0 | 3.2 | |
3 months ago | 2 days ago | |
Haskell | Haskell | |
MIT License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
relude
Posts with mentions or reviews of relude.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-06.
-
GHCanIUse - GHC language extensions compatibility table
I've also hoped that the "standard library" (i.e. Prelude) should be redesigned. I just found relude which looks very promising.
-
Good Haskell Source Code
Project to look at is: https://github.com/kowainik/relude.
-
Assessing Haskell (blogpost, slightly negative!)
Another good practice to prevent runtime exceptions is to avoid partial functions like head and tail. One way to ensure that one doesn't accidentally slip in is to use an alternative prelude (e.g. relude) that doesn't export them by default. Another alternative is to use hlint to warn about them (and then import their safe counterparts instead).
-
How do I code for the Maybe type for the following code?
That note is wrong, it is only a problem if the function input has a large cardinality. I opened a PR to fix this: https://github.com/kowainik/relude/pull/389
-
Folding Nonempty Structures In Haskell
And relude.
semigroupoids
Posts with mentions or reviews of semigroupoids.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-11.
-
I came across the "Fantasy Land Specification", it somewhat conflicts with my own simplistic understanding of monads and functors. Is this specification valid, and should I honor it?
I think of this as the "semigroupoid" factoring. Here's the canonical Haskell library, with an explanation of why the extra classes exist: https://hackage.haskell.org/package/semigroupoids. In this library, fantasyland's Chain is called Bind.
-
Folding Nonempty Structures In Haskell
obligatory shoutout to semigroupoids 🤘
What are some alternatives?
When comparing relude and semigroupoids you can also consider the following projects:
protolude - A sensible starting Prelude template.
kan-extensions - Kan extensions, Kan lifts, the Yoneda lemma, and (co)monads generated by a functor
universum - :milky_way: Prelude written in @Serokell
proto-lens - API for protocol buffers using modern Haskell language and library patterns.
base-prelude - The most complete prelude formed only from the "base" package
msgpack - Haskell implementation of MessagePack / msgpack.org[Haskell]
preamble - Yet Another Prelude
base64-bytestring - Fast base64 encoding and decoding for Haskell.
humble-prelude
comonad - Haskell 98 comonads
papa - Reasonable Haskell default import
monoid-extras - Miscellaneous constructions on monoids