I wanna do a project in haskell soooo bad.. i just cant justify a full stack project with it for various technical and social reasons... but its so much fun!
@albertcardona I will give it a read when i get a moment... cool!
@freemo i can do a bit ocaml, but somehow haskell always eluded me. are there any good resources on it except the learn you a haskell book? that one didn't work for me.
@bonifartius im not an amazing haskell programmer so im not the one to ask.. learn you a haskell combined with cheat sheets/references are mostly tthe resource I use... even then i still need help with some of the more advanced stuff.
@freemo well, maybe i just need to give it another try.. :)
@freemo @bonifartius Have you watched my old videos?
https://www.youtube.com/playlist?list=PLKduftKRQvY4X2leuze7X7BSeQGOEXT1R
@peterdrake @freemo no i have not. i found that videos aren't a good way for me to learn about things like programming, compared to things like woodworking, so i never looked for videos :) for computer science books are the best way for me to learn.
i still appreciate the link and may watch some select videos :)
@freemo I had a course on Logical and #FunctionalProgramming in college (in the 90s), and I remember falling in love with the language at first sight. And back then the compiler was just slooow. 🤦♂️
But I loved the functional paradigm and the elegant style embedded in the language. Just like you, I always thought the difficult part was to find a real project to work in, or at least, one related to my main area of work.
The famous example that always comes to mind is Pandoc.
@keyeoh I've done tons of little things here and there in haskell.. the problem with large projects is that there just arent enough good libraries outt there for it and finding developers for it isnt easy.... also doesnt help that it compiles to a native binary rather than run as a script (tthough we have java based haskell now)
@freemo @keyeoh GHC 9.6 should have a native JS and WASM backend, if you’re into that sort of thing.
I have to say I disagree on the lack of both decent libraries and finding developers. I’ve been using Haskell professionally for nearly a decade now and rarely find either hard to come by.
Edit: a year -> a decade… quite a difference!
For the record there have even been some fairly standard algorithms that I havent ever found.. for example the multibimap... which I had to write myself:
For sure, any excuse to use haskell would be good by me!
Markov chain I wrote in haskell if your curious too: https://anaconda.org/freemo/markov-chain/notebook
@freemo why do you need to justify anything? Just do it!
@freemo Agree, #programming in #haskell is exhilarating. One of my favourite papers ever on applying #haskell for fun and profit: "Exploiting vector instructions with generalized stream fusion" by Geoffrey Mainland et al. 2013 https://dl.acm.org/doi/10.1145/2500365.2500601 where the authors "describe a stream representation suited for efficient computation with SSE instructions" which compare favourably to C++ implementations.