envy
mtl-style-example
Our great sponsors
envy | mtl-style-example | |
---|---|---|
1 | 2 | |
149 | 106 | |
- | - | |
3.3 | 0.0 | |
27 days ago | over 6 years ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | ISC 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.
envy
-
I’ve tried to learn Haskell several times. But keep failing
when you already know how to compile and run single-module interactive console programs, it takes about a day to understand basics of Cabal, and about a week to learn about input parsing and output formatting. Do you need CLI args? Use optparse-applicative. Env vars? Use envy. JSON? Use aeson. Don't think about performance and/or API conventions, that's not what you should be concerned of at this point, as you are just learning to compose things together from indivdual parts.
mtl-style-example
-
Haskell ecosystem questions.
Re: effects libraries, it's probably worth starting with e.g. https://www.fpcomplete.com/blog/2017/06/readert-design-pattern/ https://www.parsonsmatt.org/2018/03/22/three_layer_haskell_cake.html https://github.com/lexi-lambda/mtl-style-example if you're just getting familiar with the ecosystem. I'll add, anything written by the the people I linked to in this comment is probably worth reading as well.
-
I’ve tried to learn Haskell several times. But keep failing
Personally, it felt to me like, once I really understood monad transformers (https://hackage.haskell.org/package/transformers) and mtl (https://hackage.haskell.org/package/mtl), the reasons they both exist and how they are distinct, how you use them generally and what common patterns are around structuring your app (see e.g. https://github.com/lexi-lambda/mtl-style-example and the 3-layer-cake link someone else provided here for two), a lot of stuff in the ecosystem suddenly became comprehensible and useful to me, in a practical, "real world" way. In fact I'd go so far as to assert that getting comfortable with mtl in particular is the biggest single step you can take to being able to build arbitrarily useful real-world apps that are no longer toys.
What are some alternatives?
taffybar - A gtk based status bar for tiling window managers such as XMonad
eff - 🚧 a work in progress effect system for Haskell 🚧
bench - Command-line benchmark tool
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
huck - 'Cause just like in the classic mis-adventure, Tom doesn't really pull his weight. So Huck is gathering all the toml parsers and making them betterer.
post-rfc - Blog post previews in need of peer review
hackage-search - An application that lets you search for anything on Hackage
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
cabal-query - Helpers for quering .cabal files or hackageDB 00-index.tar
scrabble - An extended tutorial/book on Haskell development. A library for playing Scrabble is developed as well as two clients, one of which is networked and allows for remote one or two-player games over the web.
libsystemd-journal - Haskell bindings to libsystemd-journal
effectful - An easy to use, fast extensible effects library with seamless integration with the existing Haskell ecosystem.