Newsletter
Issue 262 2021-05-06
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
-
Errors are Values Too by Marko Dimjašević
Errors are values too, just like values we get on a happy path.
-
Building a GraphQL to SQL Compiler on Postgres, MS SQL and MySQL by Phil Freeman
The release of Hasura 2.0 included one of the most exciting features to date - multiple database backends, and in particular, support for our first new backend, Microsoft SQL Server.
-
Haskell Foundation with Andrew Boardman by Haskell Weekly Podcast
Curious about the Haskell Foundation? This week we interview Andrew Boardman, its Executive Director. He explains the Foundation’s purpose and how you can help.
-
Haskell: Monoids by Vlad Posmangiu Luchian
Well believe it or not, Haskell defines a Monoid as a Typeclass, that lets you do funky stuff. Great! Let’s have a go and demonstrate these funky useful stuff.
-
Quick and dirty backpropagation in Haskell by Francesco Mazzoli
In this post, we will train a simple neural network in Haskell using backpropagation.
-
Sanity check your dependencies with Template Haskell by Artyom Kazak
This post describes a small pattern that lets us avoid bugs in production.
-
Specifying State Machines with Temporal Logic by Oskar Wickström
Quickstrom uses linear temporal logic (LTL) for specifying web applications. When explaining how it works, I’ve found that the basics of LTL are intuitive to newcomers. On the other hand, it’s not obvious how to specify real-world systems using LTL.
-
SSA transformation for GHC’s native code generator (Part 2) by Benjamin Maurer
In the first part, I explained the motivation to bring SSA-transformation to GHC’s NCG. Here, I want to look at the implementation challenges, decisions and results.
-
The trick to avoid deeply-nested error-handling code by Gabriella Gonzalez
This post documents a small trick that I use to avoid deeply-nested error-handling code. This trick is a common piece of Haskell folklore that many people either learn from others or figure out on their own.
-
Write your own Discord bot in Haskell with calamity by MorrowM
calamity
is the most fully-featured library for writing Discord bots on Hackage, rivaling frameworks likediscord.py
anddiscord.js
in features, while offering all the benefits of Haskell: a strong type system, pure functions, and risk-free refactoring
Jobs
-
Mercury is building a bank for startups. We’re hiring Haskell engineers (generalist and backend). Apply if you want to work with Haskell/Yesod/Persistent and React/Redux/Typescript. You can check out <www.lifeatmercury.com> (pw:
charlietuna
). Reach out to veronica@mercury.com with questions.
Trying to hire a Haskell developer? You should advertise with us!
In brief
-
API JSON calls with Haskell by Carlos Saltos
What: A simple project showing how to make calls to an API and parsing JSON using HTTP Conduit and Aeson.
-
Haskell lectures (video) by Graham Hutton
For the last few months, I’ve been preparing YouTube videos for the introductory and advanced Haskell courses that I teach to students at the University of Nottingham
-
An Interview With Avi Press of Scarf by Console
The Scarf CLI is a set of tools aimed at empowering users and maintainers of open source software.
-
Monthly Hask Anything (May 2021)
This is your opportunity to ask any questions you feel don’t deserve their own threads, no matter how small or simple they might be!
-
Transpiling a large PureScript codebase into Haskell, part 0: What? Why? by Artyom Kazak
About a year ago, Monadfix has been hired by Juspay — a large fintech company in India — to assist with porting a large backend codebase from PureScript into Haskell.
-
Updating IHaskell to a Newer GHC by Vaibhav Sagar
As the current maintainer of IHaskell, I see myself as having one primary responsibility: keeping it up-to-date with newer GHC releases.
-
ZuriHac 2021 (18-20 June) - Registration now open by Jasper Van der Jeugt
We are happy to announce that you can now register for ZuriHac 2021. It will take place from Friday 18th to Sunday 20th of June. Like last year, we are holding the event online.
Show & tell
-
Experimental Windows GHC 8.10.5 binary release (supports Haskell DLLs)
-
postgresql-replicant by James King
I’ve been working on a library that allows you to stream changes in your PostgreSQL database into your Haskell program.