justinwoo / purescript-simple-json

A simple Purescript JSON library that uses types automatically
http://purescript-simple-json.readthedocs.io
MIT License
133 stars 45 forks source link

add String Literal type #46

Closed justinwoo closed 6 years ago

justinwoo commented 6 years ago

Somehow ends up being quite often needed, so I will probably add this as

data StringLiteral (s :: Symbol)

and so it can be constructed with a defined mkStringLiteral function by passing in an SProxy

justinwoo commented 6 years ago

Implemented: https://github.com/justinwoo/purescript-puchitomato