Releasing AWS Lambda Haskell Runtime v2

Nick Tchayka
Jul 1 · 3 min read

Whaaaattt???

Deprecating the layer

AWS Lambda layers are a great tool for packing away some dependencies, to make your project run — and bootstrap — faster.

  1. The layer would spawn a system process through bash, spawning the user project in a very specific way, with some protocols that went through STDOUT and STDERR, along with JSON serialization.
  2. Even something as simple as a Hello World had quite a lot of overhead due to the layer.

A more convenient import and name

We have made everything available under the Aws.Lambda module. Now you don’t have to import two modules just to configure your lambdas. Instead, now you can do the following in your Main module, and you are ready to roll:

import Aws.Lambda
generateLambdaDispatcher

Comprehensive documentation

You can find a website that serves all of the documentation for the runtime here using Tintin.

Thanks for reading

We hope you like the changes we’ve made to the runtime. We want it to remain the best way to run Haskell on AWS Lambda.

The Agile Monkeys Journey

We write about what we learn and what we think.

Nick Tchayka

Written by

Functional magician 🎩 I make Monads disappear ✨ Serverless Architect @theagilemonkeys 📐 Yerba Mate addict 🥤

The Agile Monkeys Journey

We write about what we learn and what we think.