Commit a1e5a2ed authored by Michael Hanus's avatar Michael Hanus
Browse files

Dependency to wl-pprint added

parent d5354c27
Pipeline #364 canceled with stages
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
"synopsis": "A JSON library for Curry", "synopsis": "A JSON library for Curry",
"category": [ "Data", "Web" ], "category": [ "Data", "Web" ],
"dependencies": { "dependencies": {
"det-parse": "= 0.0.1" "det-parse": "= 0.0.1",
"wl-pprint": ">= 0.0.1"
}, },
"compilerCompatibility": { "compilerCompatibility": {
"pakcs": ">= 2.0.0", "pakcs": ">= 2.0.0",
......
module JSON.Pretty (ppJSON, ppJValue) where module JSON.Pretty (ppJSON, ppJValue) where
import JSON.Data import JSON.Data
import Pretty import Text.Pretty
--- Pretty print a JSON value with the default options of Curry's Pretty module. --- Pretty print a JSON value with the default options of Curry's Pretty module.
ppJSON :: JValue -> String ppJSON :: JValue -> String
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment