3 ms·
I started learning Haskell a few months ago and am currently going through the later chapters of Haskell from first principle. A major hurdle when it comes to l
by YuukiRey 8y ago
I started learning Haskell a few months ago and am currently going through the later chapters of Haskell from first principle. A major hurdle when it comes to libraries like quick check or Trifecta (the topic of the current chapter) is precisely what is alluded to in the readme for Tintin: type signatures are probably totally fine for experts, but for someone still relatively new to programming and especially new to Haskell they are kind of the 2nd step. The first one is just figuring out where to start and what are the typical use cases for the library. Which type signatures should I even be looking at first, what is typically used together,and so forth.
If more Haskell libraries had just a bit of soft documentation at least I would be extremely happy about that. It's pretty much my major hurdle when it comes to Haskell. The syntax I not only got used to, but really love now. The concepts that are taught are just complicated. Frankly monads expressed in my primary language, Javascript, are even harder to understand because of all the syntax noise. But the one thing that at least personally consider needlessly complicated is the lack of beginner friendly documentation.
- NickSeagull 8y agoThanks for the comment! I felt like you when I started with Haskell, and I hope Tintin brings more newbie-friendly docs.
- kccqzy 8y agoWow I didn't realize Haskell beginners would learn to use Trifecta. Megaparsec is much more beginner friendly (and expert-friendly too). It has tutorials that guide you gently through the process of writing a parser. See https://markkarpov.com/megaparsec/parsing-simple-imperative-language.html https://markkarpov.com/megaparsec/parsing-simple-imperative-...