Rambling about my fumblings with Haskell, Hakyll and Github.io

Posted on September 22, 2023 by Michael Shannon

Well, it was time to get with this millennium and contribute to the communal realm by publishing my follies publicly. I’m not ready for the quagmire that is social media ( I still see it as an excessive sacrifice of privacy that brings more harm than good ) but I wanted to proffer my own experiences to the public discourse. Truth be told, even this is more public than I’m completely comfortable with.

None the less, I wasn’t ready to give my bits and bytes to other platforms and I waste too much of my life maintaining web-ish infrastructure for other projects so the free hosting available via GitHub.io was key. And, since I enjoy Haskell, Hakyll was my chosen alternative to the dominate Jekyll.

It wasn’t the smoothest ride. In attempting to be “with it” and update to the current Haskell ways I installed GHCup and promptly ran into the dreaded Macports and Haskell “libiconv port function name mangling collision with Haskell problem” which manifests itself as: ... Linking dist/build/hakyll-init/hakyll-init ... Undefined symbols for architecture x86_64: "_iconv", referenced from: _hs_iconv in libHSbase-4.16.4.0.a(iconv.o) ...

More detailed explanations as to what are happening are available here, here, here and here.

Hakyll was nice and straight forward and with the help of the following postings:

… I was off to the races.

Why even post this? Well, I wanted to play with Hakyll a bit more and I need some content to populate my “posts/” section of this site.

Thanks for reading this,
Mike