Skip to content

Instantly share code, notes, and snippets.

@prozacchiwawa
Created October 12, 2016 04:51
Show Gist options
  • Save prozacchiwawa/148611da66eabb7c883995fa9cbd7125 to your computer and use it in GitHub Desktop.
Save prozacchiwawa/148611da66eabb7c883995fa9cbd7125 to your computer and use it in GitHub Desktop.
diff --git a/elm-compiler.cabal b/elm-compiler.cabal
index 6e6d4e7..815b212 100644
--- a/elm-compiler.cabal
+++ b/elm-compiler.cabal
@@ -140,8 +140,8 @@ Library
Paths_elm_compiler
Build-depends:
- aeson >= 0.7 && < 0.9,
- aeson-pretty >= 0.7 && < 0.8,
+ aeson >= 0.8,
+ aeson-pretty >= 0.8,
ansi-terminal >= 0.6.2.1 && < 0.7,
ansi-wl-pprint >= 0.6.7 && < 0.7,
base >=4.2 && <5,
@@ -178,7 +178,7 @@ Executable elm
Build-depends:
base >=4.2 && <5,
- aeson >= 0.7 && < 0.9,
+ aeson >= 0.8,
binary >= 0.7.0.0 && < 0.8,
directory >= 1.0 && < 2.0,
filepath >= 1 && < 2.0,
@@ -212,8 +212,8 @@ Test-Suite compiler-tests
test-framework-quickcheck2 >= 0.3 && < 0.4,
HUnit >= 1.1 && < 2,
QuickCheck >= 2 && < 3,
- aeson >= 0.7 && < 0.9,
- aeson-pretty >= 0.7 && < 0.8,
+ aeson >= 0.8,
+ aeson-pretty >= 0.8,
ansi-terminal >= 0.6.2.1 && < 0.7,
ansi-wl-pprint >= 0.6.7 && < 0.7,
base >=4.2 && <5,
diff --git a/src/Elm/Docs.hs b/src/Elm/Docs.hs
index 10f9b2e..ee0bd62 100644
--- a/src/Elm/Docs.hs
+++ b/src/Elm/Docs.hs
@@ -99,7 +99,7 @@ prettyJson value =
config :: Json.Config
config =
Json.Config
- { Json.confIndent = 2
+ { Json.confIndent = Json.Spaces 2
, Json.confCompare = Json.keyOrder keys
}
where
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment