/elm-syntax

Library for generating Elm syntax from Haskell in a scope-safe way

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

elm-syntax Build Status 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.