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 #40

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.

rupertlssmith commented 3 years ago

Thanks, a helpful set of changes and corrections to my terrible typos.

Can publish this as a minor version bump along with #37 (infixExpose).