News for hackers. Stuff that matters.
Re:Dhall: A Gateway Drug to Haskell by etra0 on Tuesday June 07, 2022 @06:14PM (#31660694)
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.

Re:Dhall: A Gateway Drug to Haskell by picozeta on Tuesday June 07, 2022 @06:18PM (#31660723)
Actually 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/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.

Re:Dhall: A Gateway Drug to Haskell by etra0 on Tuesday June 07, 2022 @06:35PM (#31660861)
That'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.

Re:Dhall: A Gateway Drug to Haskell by xwowsersx on Tuesday June 07, 2022 @06:23PM (#31660760)
I 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.
Re:Dhall: A Gateway Drug to Haskell by agentultra on Tuesday June 07, 2022 @11:18PM (#31662794)
I’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

Re:Dhall: A Gateway Drug to Haskell by ParetoOptimal on Wednesday June 08, 2022 @03:48AM (#31664490)
> 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/koalaman/shellcheck

https://github.com/PostgREST/postgrest

https://github.com/hadolint/hadolint

https://github.com/jaspervdj/patat

https://github.com/smallhadroncollider/taskell

https://github.com/fosskers/aura

https://github.com/HuwCampbell/grenade

https://github.com/Haskell-Things/ImplicitCAD

https://github.com/lettier/gifcurry - GIF editor

https://github.com/2mol/pboy - pdf management utility

https://github.com/ChrisPenner/rasa - Extremely modular text editor built in Haskell

https://github.com/samtay/tetris - terminal interface for Tetris

https://github.com/mattgreen/hython - Haskell-powered Python 3 interpreter

https://github.com/lettier/movie-monad - A free and simple to use video player made with Haskell.

https://github.com/dbousamra/hnes - NES Emulator written in Haskell

Re:Dhall: A Gateway Drug to Haskell by simonmic on Wednesday June 08, 2022 @08:23PM (#31676214)
A few more:

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 - Easy, repeatable testing of CLI programs/commands

https://github.com/simonmichael/hledger - Robust, fast, intuitive plain text accounting tool with CLI, TUI and web interfaces

https://github.com/haskell-game/fungen - A lightweight, cross-platform, OpenGL-based 2D game engine in Haskell

https://haskell-game.dev - a small selection of the many games written in Haskell

https://haskell-via-sokoban.nomeata.de - Haskell via Sokoban

https://lhbg-book.link - Learn Haskell by building a blog generator

https://github.com/input-output-hk - the Cardano blockchain and Daedalus wallet

https://github.com/jgm/pandoc - Universal markup converter (already mentioned above)

https://github.com/simplex-chat/simplex-chat - secure messaging platform

https://www.libhunt.com/l/haskell - more projects...

Re:Dhall: A Gateway Drug to Haskell by etra0 on Wednesday June 08, 2022 @04:18PM (#31673402)
Well 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!