5 ms·
I recently tried to get into Haskell, while also looking for relevant projects written in it on Github and couldn't find anything "interesting" (this may vary f
by etra0 4y ago
I recently tried to get into Haskell, while also looking for relevant projects written in it on Github and couldn't find anything "interesting" (this may vary from person to person, obviously).
I was watching a YouTube playlist but I'd rather read something like "Haskell by example", or some sort of small apps with comments to understand how it works.
I was interested in writing some binary parser in it but I failed miserably.
- picozeta 4y agoActually writing a self-contained parser (in essence a function parse :: [Binary] -> AST) is one of the things where Haskell shines. You could use `attoparsec` (and to start off, even using the stdlib's https://hackage.haskell.org/package/parsers-0.12.11/docs/Text-Parser-Combinators.html https://hackage.haskell.org/package/parsers-0.12.11/docs/Tex... can get you very far). And I say that as someone, whose top-rated comment in this thread is more or less a Haskell rant.
- xwowsersx 4y agoI think OP's point was that THEY failed miserably. Presumably, they reached for Haskell to begin with because they knew it's supposed to shine for things like writing parsers. Maybe they were making a point about learning curve or FUX with Haskell...not sure since OP didn't elaborate.
- etra0 4y agoThat's cool to know, maybe I should keep trying. And regarding your top comment, I agree that's quite hard to find interesting SW written in it, that's one of the reasons I quickly gave up, but I guess it doesn't hurt to learn about FP after all, I want to at least write something that works before finally decide if it's worth it or not.
- agentultra 4y agoI’ve been thinking about producing a video series giving an introduction to FP from the ground up. However I do stream myself working on non-trivial Haskell projects from scratch to give folks an impression of what it’s like work in this language once you’re comfortable with it. I do enjoy taking digressions to answer questions too, so if interested check out https://twitch.tv/agentultra https://twitch.tv/agentultra
- ParetoOptimal 4y ago> I recently tried to get into Haskell, while also looking for relevant projects written in it on Github and couldn't find anything "interesting" (this may vary from person to person, obviously). Let me try covering interesting for many people (hopefully including you!): Start: https://github.com/topics/haskell https://github.com/topics/haskell https://github.com/koalaman/shellcheck https://github.com/koalaman/shellcheck https://github.com/PostgREST/postgrest https://github.com/PostgREST/postgrest https://github.com/hadolint/hadolint https://github.com/hadolint/hadolint https://github.com/jaspervdj/patat https://github.com/jaspervdj/patat https://github.com/smallhadroncollider/taskell https://github.com/smallhadroncollider/taskell https://github.com/fosskers/aura https://github.com/fosskers/aura https://github.com/HuwCampbell/grenade https://github.com/HuwCampbell/grenade https://github.com/Haskell-Things/ImplicitCAD https://github.com/Haskell-Things/ImplicitCAD https://github.com/lettier/gifcurry https://github.com/lettier/gifcurry - GIF editor https://github.com/2mol/pboy https://github.com/2mol/pboy - pdf management utility https://github.com/ChrisPenner/rasa https://github.com/ChrisPenner/rasa - Extremely modular text editor built in Haskell https://github.com/samtay/tetris https://github.com/samtay/tetris - terminal interface for Tetris https://github.com/mattgreen/hython https://github.com/mattgreen/hython - Haskell-powered Python 3 interpreter https://github.com/lettier/movie-monad https://github.com/lettier/movie-monad - A free and simple to use video player made with Haskell. https://github.com/dbousamra/hnes https://github.com/dbousamra/hnes - NES Emulator written in Haskell
- etra0 4y agoWell clearly I suck at 'searching' :-) for some reason I thought searching on github `language:haskell` would spit useful results, but now I can see I did it wrong. that's a good list to look at into for inspiration, thanks!
- simonmic 4y agoA few more: https://github.com/simonmichael/quickbench https://github.com/simonmichael/quickbench - Easily time one or more commands with one or more executables and show tabular results https://github.com/simonmichael/shelltestrunner https://github.com/simonmichael/shelltestrunner - Easy, repeatable testing of CLI programs/commands https://github.com/simonmichael/hledger https://github.com/simonmichael/hledger - Robust, fast, intuitive plain text accounting tool with CLI, TUI and web interfaces https://github.com/haskell-game/fungen https://github.com/haskell-game/fungen - A lightweight, cross-platform, OpenGL-based 2D game engine in Haskell https://haskell-game.dev https://haskell-game.dev - a small selection of the many games written in Haskell https://haskell-via-sokoban.nomeata.de https://haskell-via-sokoban.nomeata.de - Haskell via Sokoban https://lhbg-book.link https://lhbg-book.link - Learn Haskell by building a blog generator https://github.com/input-output-hk https://github.com/input-output-hk - the Cardano blockchain and Daedalus wallet https://github.com/jgm/pandoc https://github.com/jgm/pandoc - Universal markup converter (already mentioned above) https://github.com/simplex-chat/simplex-chat https://github.com/simplex-chat/simplex-chat - secure messaging platform https://www.libhunt.com/l/haskell https://www.libhunt.com/l/haskell - more projects...