elm-syntax [](https://hackage.haskell.org/package/elm-syntax)

November 18, 2023 ยท View on GitHub

A library for generating Elm syntax from Haskell in a scope-safe way.

This library has two main parts:

  • It defines abstract syntax trees (ASTs) for Elm definitions, expressions, patterns, and types, using the bound library for scope-safe local names.
  • It defines pretty printers from the ASTs to syntactically correct Elm code.