the-sett / elm-syntax-dsl

A DSL for creating Elm syntax trees and pretty printing Elm source code.
BSD 3-Clause "New" or "Revised" License
20 stars 4 forks source link

exposed `prettyModule`, corrected example and spelling #38

Closed lue-bird closed 3 years ago

lue-bird commented 3 years ago

Elm.Pretty.prettyModule is now exposed (#36):

{-| Pretty prints a module definition.
-}
prettyModule : Module -> Doc

Apart from that, some spelling mistakes and the prepareLayout example were corrected and unused imports were removed.

lue-bird commented 3 years ago

Sorry, the last commit accidentally included some elm-review files. I opened a new PR #40.