From a1e5a2ed5383c478e215ccf3c5c638d8abf5ad6f Mon Sep 17 00:00:00 2001 From: Michael Hanus <mh@informatik.uni-kiel.de> Date: Mon, 20 Nov 2017 17:50:52 +0100 Subject: [PATCH] Dependency to wl-pprint added --- package.json | 3 ++- src/JSON/Pretty.curry | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1342a73..84f3d81 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/JSON/Pretty.curry b/src/JSON/Pretty.curry index d179ee8..365d7d8 100644 --- a/src/JSON/Pretty.curry +++ b/src/JSON/Pretty.curry @@ -1,7 +1,7 @@ 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 -- GitLab