An open API service indexing awesome lists of open source software.

https://github.com/stil4m/structured-writer

Elm writer for structured values such Json, Xml and programming languages (such as Elm)
https://github.com/stil4m/structured-writer

Last synced: 2 months ago
JSON representation

Elm writer for structured values such Json, Xml and programming languages (such as Elm)

Awesome Lists containing this project

README

        

![Project Badge](https://ci.appveyor.com/api/projects/status/github/stil4m/structured-writer?svg=true&passingText=master%20-%20OK)

--------------------------------------------------------------------------------

# 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"
```