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)
- Host: GitHub
- URL: https://github.com/stil4m/structured-writer
- Owner: stil4m
- License: mit
- Created: 2017-05-06T12:11:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T08:34:09.000Z (almost 5 years ago)
- Last Synced: 2025-01-21T18:51:44.736Z (4 months ago)
- Language: Elm
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

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