summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreliaslfox <>2017-09-14 05:25:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-09-14 05:25:00 (GMT)
commit8864425beb56920d2b5437ed5e3f1770e25f45f1 (patch)
tree06e3499954cf2c31c8033a53f2b7e45fae71a6f1
parent312ab9aaef2ee1f6082825c71e403f1c17e06a21 (diff)
version 0.1.0.30.1.0.3
-rw-r--r--language-elm.cabal6
-rw-r--r--src/Elm.hs5
-rw-r--r--src/Elm/Expression.hs1
3 files changed, 6 insertions, 6 deletions
diff --git a/language-elm.cabal b/language-elm.cabal
index 2a9c076..0ce50ca 100644
--- a/language-elm.cabal
+++ b/language-elm.cabal
@@ -1,5 +1,5 @@
name: language-elm
-version: 0.1.0.2
+version: 0.1.0.3
synopsis: Generate elm code
description: Generate elm code from an ast
homepage: https://github.com/eliaslfox/language-elm#readme
@@ -20,7 +20,7 @@ library
pretty >= 1.1.3 && < 1.2,
MissingH >= 1.4.0 && < 1.5,
mtl >= 2.2.1 && < 2.3,
- protolude >= 0.2 && < 0.3
+ protolude >= 0.1.1 && < 0.2
default-language: Haskell2010
test-suite language-elm-test
@@ -33,7 +33,7 @@ test-suite language-elm-test
, pretty >= 1.1.3 && < 1.2
, hspec >= 2.4.3 && < 2.5
, mtl >= 2.2.1 && < 2.3
- , protolude >= 0.2 && < 0.3
+ , protolude >= 0.1.1 && < 0.2
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
diff --git a/src/Elm.hs b/src/Elm.hs
index 36c841a..e47b581 100644
--- a/src/Elm.hs
+++ b/src/Elm.hs
@@ -1,5 +1,5 @@
{-# OPTIONS_HADDOCK prune #-}
-{-# OPTIONS_GHC -Wall -Werror #-}
+{-# OPTIONS_GHC -Wall #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE Trustworthy #-}
module Elm
@@ -56,8 +56,7 @@ module Elm
-- Please note that doctest is very specefic about spacing
-- so chaning spacing in the examples may break tests
-import Prelude (error)
-import Protolude hiding (bool, list)
+import Protolude hiding (Type, bool, list)
import Control.Monad.Writer
import Data.String
diff --git a/src/Elm/Expression.hs b/src/Elm/Expression.hs
index d9f0f10..ac670ba 100644
--- a/src/Elm/Expression.hs
+++ b/src/Elm/Expression.hs
@@ -13,6 +13,7 @@ import Protolude
import Control.Monad (mapM, when)
import Control.Monad.Writer (tell)
+import Data.List hiding (map)
import Data.String (IsString (..), String)
import Elm.Classes (Generate (..))
import Elm.GenError (GenError (..))