Haskell Weekly

Newsletter

Issue 419 2024-05-09

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

  • Compiling higher order functions with GADTs by Srijan

    Implementing first class functions in a bytecode interpreter is trivial. But how do compilers that generate machine code (or lower to C, or SSA) implement higher order functions? Back in 2021, I found an answer when contributing closures to the Pallene compiler. Today I was researching something loosely related, and found yet another neat trick called defunctionalization.

  • Development notes from xkcd’s “Machine” by Max Goodhart

    Machine’s backend was written in Haskell by davean and Kevin, with redis as backing store. We used OpenAPI with OpenAPI fetch to share types between the codebases. This approach had some teething pains adapting Haskell types, but ended up very helpful for coordinating late breaking API changes. GitHub link: https://github.com/xkcd/incredible

  • Episode 48 – José Nuno Oliveira by The Haskell Interlude

    Andres Löh and Matthías Páll Gissurarson interview José Nuno Oliveira, who has been teaching Haskell for 30 years. José talks about how Haskell is the perfect language to introduce programming to all sorts of audiences, why it is important to start with Haskell, and how the programmers of the future have been learning Haskell for several years already!

  • GSoC 2024 Accepted Projects by Aaron Allen

    Thanks to everyone who submitted ideas and congratulations to the selected contributors!

  • How to secure GitHub repositories by Mihai Maruseac

    As part of the Haskell Security Response Team (SRT), we have worked on writing a guide on how to secure GitHub repositories to prevent supply chain compromises and unwanted code from getting into the repository (relatively similar to the recent xz attack).

  • HTMX and Servant: Seamless and powerful handling of HTTP errors in HTMX by Noon van der Silk

    As part of the interview process for a company I was recently rejected by, I wrote a blog post about HTMX and Haskell (and, JavaScript, but that was just a requirement :D).

  • When Are Functions Lazy Enough for Lists by Daniel Beskin

    Recently, I’ve been TA-ing on an introduction to functional programming course, using Haskell. This is a very enlightening experience, as it once again proves the notion that the best way to learn something is to teach it.

Jobs

Trying to hire a Haskell developer? You should advertise with us!

In brief

Show & tell

Call for participation