Newsletter
Issue 415 2024-04-11
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
-
Dyadic Decomposition using Functional lenses by Eduardo Lemos
Compressors are usually implemented imperatively. Pointers and mutation are in the spotlight and it is not hard to put yourself into some spaghetti code. How functional programming abstractions deal with it? In this presentation, I explain one instance in which some of them fit like a glove to the problem on hand, going all the way from intuition to actual code.
-
Extracting curve coordinates from a bitmap by Mark Seemann
As I already mentioned in the previous article, these days there are online tools for just about everything. Most likely, there’s also an online tool that will take a bitmap like that and return a set of (x, y) coordinates. Since I’m doing this for the programming exercise, I’m not interested in that. Rather, I’d like to write a little Haskell script to do it for me.
-
Haskell Security Response Team - 2024 January–March report by Fraser Tweedale
The Haskell Security Response Team (SRT) is a volunteer organisation within the Haskell Foundation that is building tools and processes to aid the entire Haskell ecosystem in assessing and responding to security risks. In particular, we maintain a database of security advisories that can serve as a data source for security tooling.
-
PenroseKiteDart User Guide by Chris Reade
PenroseKiteDart is a Haskell package with tools to experiment with finite tilings of Penrose’s Kites and Darts. It uses the Haskell Diagrams package for drawing tilings. As well as providing drawing tools, this package introduces tile graphs (
Tgraphs
) for describing finite tilings. -
Solving Advent of Code ’23 “Aplenty” by Compiling by Abhinav Sarkar
Every year I try to solve some problems from the Advent of Code (AoC) competition in a not straightforward way. Let’s solve the part one of the day 19 problem Aplenty by compiling the problem input to an executable file.
-
Stackage Handover Complete by Bryan Richter
I’m happy to announce the completion of the handover of Stackage.org to the Haskell Foundation.
Jobs
Trying to hire a Haskell developer? You should advertise with us!
In brief
-
automata
: a tool for exhaustively generating valid strings from given automata grammars (FSMs, PDAs, Turing Machines) by NeuralLambda -
binrep
: Encode precise binary representations directly in types by Ben Orchard
Show & tell
- Apply-merge: Lift a binary, increasing function onto ordered lists and produce ordered output by Preetham Gujjula
I’m open to questions/comments/feedback of any kind, especially about whether you’ve seen this idea before, and on the name of the function.