packages feed

elm-bridge 0.4.0 → 0.4.1

raw patch · 4 files changed

+8/−6 lines, 4 filesdep ~aesonnew-uploader

Dependency ranges changed: aeson

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+# v0.4.1++## Bugfixes+ * Fixed support for Elm 0.18 (see issue #17)+ # v0.4.0 ## New features  * Support for Elm 0.18
elm-bridge.cabal view
@@ -1,6 +1,6 @@ name:                elm-bridge-version:             0.4.0-synopsis:            Derive Elm types from Haskell types+version:             0.4.1+synopsis:            Derive Elm types and Json code from Haskell types description:         Building the bridge from Haskell to Elm and back. Define types once,                      use on both sides and enjoy easy (de)serialisation. Cheers! 
src/Elm/Module.hs view
@@ -28,7 +28,7 @@ -- | Creates an Elm module for the given version. This will use the default -- type conversion rules (to -- convert @Vector@ to @List@, @HashMap a b@ -- to @List (a,b)@, etc.).-makeElmModuleWithVersion :: ElmVersion +makeElmModuleWithVersion :: ElmVersion                          -> String  -- ^ Module name                          -> [DefineElm]  -- ^ List of definitions to be included in the module                          -> String@@ -36,7 +36,6 @@     [ moduleHeader elmVersion moduleName     , ""     , "import Json.Decode"-    , "import Json.Decode exposing ((:=))"     , "import Json.Encode exposing (Value)"     , "-- The following module comes from bartavelle/json-helpers"     , "import Json.Helpers exposing (..)"
test/Elm/ModuleSpec.hs view
@@ -34,7 +34,6 @@     [ moduleHeader' elmVersion "Foo"     , ""     , "import Json.Decode"-    , "import Json.Decode exposing ((:=))"     , "import Json.Encode exposing (Value)"     , "-- The following module comes from bartavelle/json-helpers"     , "import Json.Helpers exposing (..)"@@ -76,7 +75,6 @@     [ moduleHeader' elmVersion "Qux"     , ""     , "import Json.Decode"-    , "import Json.Decode exposing ((:=))"     , "import Json.Encode exposing (Value)"     , "-- The following module comes from bartavelle/json-helpers"     , "import Json.Helpers exposing (..)"