Haskell in WebAssembly

Haskell is a purely functional programming language.

Available Implementations

The Asterius project compiles Haskell to WebAssembly.


Asterius targets Node.js and the browser. It also appears to support wasm32-wasi, though we have not tested it.

Pros and Cons

None yet.


All of our examples follow a documented pattern using common tools.

No example yet.

Learn More

Here are some great resources:

  • The Asterius main project page discusses how Asterius works
  • A blog post on using Asterius in CloudFlare
  • The roadmap provides a list of fixes, but it looks to not be updated recently