stil4m/structured-writer/1.0.2

NOTE: the latest version is 1.0.3

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"