Commit 3e32ec3a authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] adding type for String Conversion

parent 9dc45d72
...@@ -20,7 +20,6 @@ extra-source-files: ...@@ -20,7 +20,6 @@ extra-source-files:
description: Please see the README on GitHub at <https://github.com/githubuser/gargantext-prelude#readme> description: Please see the README on GitHub at <https://github.com/githubuser/gargantext-prelude#readme>
dependencies: dependencies:
- SHA
- aeson - aeson
- base >= 4.7 && < 5 - base >= 4.7 && < 5
- binary - binary
...@@ -36,20 +35,21 @@ dependencies: ...@@ -36,20 +35,21 @@ dependencies:
- ini - ini
- lens - lens
- located-base - located-base
- mime-mail
- mtl - mtl
- password - password
- protolude - protolude
- random - random
- random-shuffle
- safe - safe
- mime-mail
- smtp-mail - smtp-mail
- string-conversions - string-conversions
- MonadRandom
- random-shuffle
- text - text
- transformers - transformers
- transformers-base - transformers-base
- vector - vector
- SHA
- MonadRandom
default-extensions: default-extensions:
- DataKinds - DataKinds
......
...@@ -17,6 +17,7 @@ module Gargantext.Prelude ...@@ -17,6 +17,7 @@ module Gargantext.Prelude
( module Gargantext.Prelude ( module Gargantext.Prelude
, module Protolude , module Protolude
, module GHC.Err.Located , module GHC.Err.Located
, module Data.String.Conversions
, module Text.Show , module Text.Show
, module Text.Read , module Text.Read
, module Data.Maybe , module Data.Maybe
...@@ -67,13 +68,12 @@ import Protolude ( Bool(True, False), Int, Int64, Double, Integer ...@@ -67,13 +68,12 @@ import Protolude ( Bool(True, False), Int, Int64, Double, Integer
, seq , seq
) )
import qualified Protolude as Protolude (writeFile) import qualified Protolude as Protolude (writeFile)
import Data.String.Conversions (ConvertibleStrings, cs)
import Prelude (Enum, Bounded, minBound, maxBound, putStrLn) import Prelude (Enum, Bounded, minBound, maxBound, putStrLn)
-- TODO import functions optimized in Utils.Count -- TODO import functions optimized in Utils.Count
-- import Protolude hiding (head, last, all, any, sum, product, length) -- import Protolude hiding (head, last, all, any, sum, product, length)
-- import Gargantext.Utils.Count -- import Gargantext.Utils.Count
import Data.Map.Strict (insertWith) import Data.Map.Strict (insertWith)
import Data.String.Conversions (cs)
import Safe (headMay, lastMay, initMay, tailMay) import Safe (headMay, lastMay, initMay, tailMay)
import Text.Read (Read()) import Text.Read (Read())
import Text.Show (Show(), show) import Text.Show (Show(), show)
......
Markdown is supported
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