post-rfc
containers
Our great sponsors
post-rfc | containers | |
---|---|---|
27 | 11 | |
2,186 | 313 | |
- | -0.3% | |
2.3 | 6.2 | |
9 months ago | 10 days ago | |
Haskell | ||
Creative Commons Attribution 4.0 | BSD 3-clause "New" or "Revised" License |
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.
post-rfc
-
Haskell in Production: Standard Chartered
That's what it's best for, but personally I use it for everything. If I ever get into low-level code I'll probably use Rust though.
You can confirm that parsers/tokenizers is ranked "best in class" here though:
https://github.com/Gabriella439/post-rfc/blob/main/sotu.md
-
Recommendations for well informed, up-to-date guide to Haskell backend engineering
Note that this is ported from here: https://github.com/Gabriella439/post-rfc/blob/main/sotu.md which comes with more exposition.
-
I want to learn Haskell, but...
State of the Haskell Ecosystem
-
Why are haskell applications so obscure?
According to State of the Haskell ecosystem, Haskell is THE language of choice for implementing compilers, and THE language of choice for writing parsers. Thus, it is not surprising to see more Haskell projects from those particular categories than from other categories.
-
base case
This is great for understanding what libraries to use in the Haskell ecosystem: https://github.com/Gabriella439/post-rfc/blob/main/sotu.md
-
Haskell for beginners
In particular, I got comfortable reading hackage documentation to understand quickly how to use libraries (aeson, megaparsec, mtl, pipes, etc), got comfortable with the ecosystem (this helped: https://github.com/Gabriella439/post-rfc/blob/main/sotu.md), got comfortable with the main language idioms and features (https://smunix.github.io/dev.stephendiehl.com/hask/tutorial.pdf) and got comfortable with simple things that for some reason had confused me before (case, \case, let).
- What can I do in Haskell? UwU
-
Is there "Are We <#$%&> Yet" type of websites for Haskell?
Gabriella Gonzalez has a great doc that is reasonably up-to-date, sounds similar to what you're looking for? https://github.com/Gabriella439/post-rfc/blob/main/sotu.md
- What I wish I had known about voice feminization from the beginning
-
Haskell for Artificial Intelligence?
With that being said, Python is without a doubt the best option, and I'd also be very interested to read the articles you found that say that Python is not a good choice because it's been the industry standard for a long time now. Data science and machine learning are one of the areas where the Haskell ecosystem is not as strong as other languages, but libraries and tools do exist. There's a great list of Haskell resources by domain here, and as you can see, there are Haskell bindings to tensorflow and pytorch, along with other libraries that support common data science programming.
containers
-
Programming with -XStrict/Unlifted datatypes and associated ecosystem/libraries/preludes
"Make invalid laziness unrepresentable" means you should use strict versions of container types instead of lazy ones. However, for better or for worse, sometimes the "strict version" of a data type is not actually a strict data type, it's just a strict API to the lazy type. Examples include Data.Map.Strict (not Data.Map or Data.Map.Lazy) or Data.HashMap.Strict (not Data.HashMap.Lazy) (sadly there is no Data.Sequence.Strict but perhaps there will be one day).
-
How are Lists & Sequences (from containers package) control structures?
Indeed it's rather subtle. See https://github.com/haskell/containers/issues/752 for more discussion on the matter. Nonetheless, I believe it is "spine strict" in the sense that thunks for all values always exist, even if the spine that holds them can be rearranged due to laziness.
-
An elegant approach to solve this problem?
Note that the list index operator has O(n) complexity. Ideally you'd want to use something like Seq from the containers package
- Monthly Hask Anything (June 2022)
-
Why is seemingly infinite (lazy) recursion faster?
Edison and containers both have sequence types that support efficient, cons, snoc, viewL, viewR, append, map, and length.
-
Haskell - Important Libraries
containers
-
Assessing Haskell (blogpost, slightly negative!)
Calling linked lists Haskell's "primary data structure" seems off-base to me. Yes, there's String, yes, there's built-in syntax for List... but there's also everything in containers, and vector is pretty easy to use in practice, though it would probably be good for more learning material to mention it more prominently.
-
Is a a MONAD in Haskell just the functional equivalent of a generic type (such as in C#) and how do MONADs enable things like saving data?
Haskell has much more sophisticated immutable data structures, you can find them in the "containers" package: https://hackage.haskell.org/package/containers
-
Looking for projects that make heavy use of IntMap which have benchmarks
I asked this on the libraries mailing list but thought posting here would bring in potentially more responses. I made a recent change to the behaviour of lookup and find (see here for more details: https://github.com/haskell/containers/pull/800).
-
Semver doesn't mean MAJOR.MINOR.PATCH, it means FAILS.FEATURES.BUGS
Rust has nothing on Haskell. containers, which might as well be considered part of the standard library, has been out for almost 14 years and is still 0.x
What are some alternatives?
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
singletons - Fake dependent types in Haskell using singletons
envy - :angry: Environmentally friendly environment variables
EdisonAPI - Edison: A Library of Efficient Data Structures
hackage-server - Hackage-Server: A Haskell Package Repository
igraph - Incomplete Haskell bindings to the igraph library (which is written in C)
rlua - High level Lua bindings to Rust
hevm - Dapp, Seth, Hevm, and more
awesome-haskell - A collection of awesome Haskell links, frameworks, libraries and software. Inspired by awesome projects line.
miso - :ramen: A tasty Haskell front-end framework
hoogle - Haskell API search engine
indexed-containers