Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
curry-packages
json
Commits
a1e5a2ed
Commit
a1e5a2ed
authored
Nov 20, 2017
by
Michael Hanus
Browse files
Dependency to wl-pprint added
parent
d5354c27
Pipeline
#364
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
a1e5a2ed
...
...
@@ -6,7 +6,8 @@
"synopsis"
:
"A JSON library for Curry"
,
"category"
:
[
"Data"
,
"Web"
],
"dependencies"
:
{
"
det-parse
"
:
"= 0.0.1"
"
det-parse
"
:
"= 0.0.1"
,
"
wl-pprint
"
:
">= 0.0.1"
},
"compilerCompatibility"
:
{
"pakcs"
:
">= 2.0.0"
,
...
...
src/JSON/Pretty.curry
View file @
a1e5a2ed
module JSON.Pretty (ppJSON, ppJValue) where
import JSON.Data
import Pretty
import
Text.
Pretty
--- Pretty print a JSON value with the default options of Curry's Pretty module.
ppJSON :: JValue -> String
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment