stil4m/structured-writer/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

Project Badge


Structured Writer

Allows you to create strings for certain structures

import StructuredWriter exposing (..)


write (parensComma False [string "a", string "b", string "c"] ) == "(a, b, c)"
write (indent 2 (breaked [string "a", string "b"])) == "  a\n  b"