Skip to content

haskell-to-elm/elm-syntax

Repository files navigation

elm-syntax Hackage

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.