Haskell Weekly

Newsletter

Issue 553 2026-12-03

Subscribe now! We'll never send you spam. You can also follow our feed. Read more issues in the archives.

Welcome to another issue of Haskell Weekly! Haskell is a safe, purely functional programming language with a fast, concurrent runtime. This is a weekly summary of what’s going on in its community.

Featured

  • cabal-buck2: buck2 build support for general Haskell packages by Michael Peyton Jones

    By replacing cabal’s built-in build system, we’re able to get very substantial speed improvements. On the CircuitHub codebase, we see approximately 2x speedups on clean builds, and 10x+ improvements on incremental builds (depending on what you’re doing). In some cases incremental rebuilds can even beat :reload in ghci! Later I’ll show some more extensive results from some open-source projects.

  • Classic Shift Ciphers with lens and finite-typelits by Jack Kelly

    A good friend has been trolling me recently with a CTF-style treasure hunt, and some of the clues have been obscured behind classic shift ciphers. This has given me a chance to play with some of my favourite combinators from lens, as well as mess around with finite-typelits, which I’ve wanted to do for some time. The implementation of the ciphers turned out to be quite elegant, so I thought I’d write them up.

  • Episode 90 – David Luposchainsky by The Haskell Interlude

    In this Interlude, we sat down with David Luposchainsky. David is senior consultant at TNG and one of the founders of MuniHac, and has a long history with Haskell. We had a far-ranging conversation from compiler construction to shaping the evolution of the language to generative art: David built his own CNC machine and programmed it with Haskell. We also talked about the arc from a Physics degree to programming, and reflected on the perils of language evolution and language popularity. Enjoy!

  • Exception Best Practices by Edsko de Vries

    Good exception handling is difficult in any language, but all the more so in Haskell, where asynchronous exceptions mean that code can be interrupted at almost any point. In this blog post we will discuss a series of recommendations, focusing on three goals.

  • Experimental Dependent Types in Haskell Fork by Matthías Páll Gissurarson

    Today I’m releasing my fork of GHC that has -XDependentTypes. To showcase what the fork could do, I had Gemini 4 Neon port Programming Language Foundations in Agda to using dependent Haskell instead, and thanks to the excellent GHC WASM backend, you can play around with it in the browser directly. It even includes an Agda mode based on my valid hole-fits (and a hole-fit plugin), so you can get help with writing your proofs.

  • GHC 9.12.5-rc5 is now available by MangoIV

    The GHC developers are pleased to announce the availability of the fifth release candidate for GHC 9.12.5, ghc-9.12.5-rc5.

  • GHC 9.14.2 is finally available! by Zubin

    The GHC developers are very pleased to finally announce the release of GHC 9.14.2.

  • Not Slop: Haskell in the Age of AI by Edsko de Vries

    In the 18 months before the Riemann hypothesis was solved by AI, Grant Sanderson of the excellent educational mathematics YouTube channel 3Blue1Brown had been interviewing mathematicians, asking them “How would you feel if AI produced a Lean-verified proof of the Riemann hypothesis, incomprehensible to humans?” The answer was almost universally some variant of “such a proof would have some value, but ultimately the real value is in advancing our understanding of mathematics, not merely in having the proof”. As software engineers, we struggle with a similar question. “How would you feel if you could press a button, and out comes an enormous piece of code, incomprehensible to humans, that solves the problem?” Many of us at Well-Typed are recovering academics, occasionally falling off the wagon and writing the odd research paper, and we value understanding for understanding’s sake. We might therefore have a reaction similar to that of our mathematician colleagues to the proof of the Riemann hypothesis. Yet, we must acknowledge that in industry there is real value in the object itself, even if we don’t necessarily understand it.

  • Tilia: the little tree that grew by Mark Karpov

    A couple of months ago I announced a new formatter for Haskell—Tilia. The announcement post discussed the high-level design decisions I made, and while some readers appreciated it, many more remained puzzled as to what this new formatter brings to the table—I think this was the top Reddit comment, for example. Shortly after the announcement someone opened an issue on Tilia’s issue tracker asking for a comparison with other formatters. I also received a few questions by email asking about Tilia and the future of formatting Haskell in general. All this convinced me that a follow-up post was in order, this time a much more practical one, ideally with examples. I held off on writing it, though, because I was not yet completely happy with Tilia and wanted to do more work before writing about it again. That work has largely been done now and I have a few exciting updates to share.

  • Type-level Haskell from Zero to Advent by Mitchell Vitez

    In this workshop, we’ll treat Haskell’s type system as its own language, learning:

    • How to declare type-level data structures
    • How to define type-level functions
    • How to do type-level parsing

    Finally, we’ll tackle some real Advent of Code problems using only types!

In brief

Show & tell

  • A two-way merge in Haskell on Algo.pw by Algo.pw

    We made a step-through example of merging two sorted arrays for Algo.pw. The inputs are [1,4,4,9] and [2,4,8]. When both heads are 4, you can pause, predict which one the guard picks, and see the corresponding input index advance. The result is built with Data.Sequence.(|>). Run and edit the example in the Haskell Playground. Follow the same input one step at a time.

  • Distributed consensus library and ecosystem with built-in DST by Laurent P. René de Cotret

    Over the past year, I have been working on an implementation of the Raft consensus algorithm in Haskell, which allows for distributed consensus. In particular, using Raft, one can create a distributed, fault-tolerant state machine. The library has been released on Hackage under the name raft-consensus. Bring your own networking and persistence layer!

  • GRIN Compiler status update: memory layout control, two level type theory based staging, dependent types, Idris2, MicroHs by Csaba Hruska

    I’ve elaborated the following topics in my recent blog post.

  • Improving GHC diagnostics and their decorations by Enrico Maria De Angelis

    In this post I’m outlining what are the consequences of, and the open questions about, the change to the diagnostics and diagnostics’ decorations I’m proposing in MR !16887. Thanks in advance to whoever will stop by to have a thorough read and to give some feedback for the purpose of reaching consensus.

  • Package-health-check // Ecosystem Health Improvement by Benjamin Weber

    Problem assessment: Ecosystem users don’t use current GHC because packages are not updated with tested-with and base upper bound. Or they try to use it and are frustrated of compilation errors. There is the full spectrum, including “core” libraries (those under “haskell” on GitHub, for example), which aren’t up to date for quite some time with the “tested-with” tag or carry an incorrect base upper bound that lets them fail at compilation just because of that.

  • Yet another Haskell 9p2000 file server protocol implementation by stevechy

    I made a repo to experiment with protocol parsing using the 9p2000 file server protocol in Haskell. I wrote up a report about the experience so far.

Call for participation