Skip to content

Added JSON show. - #37

Open
ilya-fiveisky wants to merge 2 commits into
gallais:masterfrom
ilya-fiveisky:json-show
Open

ilya-fiveisky wants to merge 2 commits into
gallais:masterfrom
ilya-fiveisky:json-show

Conversation

@ilya-fiveisky

Copy link
Copy Markdown

Added Data.JSON.Show module with show function.

Comment thread src/Data/JSON/Show.agda Outdated
show (bool false) = "false"
show (bool true) = "true"
show (number f) = showꟳ f
show (string s) = "\"" ++ s ++ "\""

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expect you need to perform some escaping on the string here

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants