Skip to content
Snippets Groups Projects
Unverified Commit 6a16828b authored by stuebinm's avatar stuebinm
Browse files

removed unnecessary dependency

parent fafc59bf
No related branches found
No related tags found
No related merge requests found
...@@ -9,10 +9,8 @@ module Main where ...@@ -9,10 +9,8 @@ module Main where
import Data.Aeson (encode) import Data.Aeson (encode)
import Data.Aeson.Encode.Pretty (encodePretty) import Data.Aeson.Encode.Pretty (encodePretty)
import qualified Data.ByteString.Lazy as LB import qualified Data.ByteString.Lazy as LB
import qualified Data.ByteString.Lazy.Encoding as LB import qualified Data.ByteString.Char8 as C8
import Data.Maybe (fromMaybe) import Data.Maybe (fromMaybe)
import Data.Text.Lazy as T
import System.IO (utf8)
import WithCli import WithCli
import Util (printPretty) import Util (printPretty)
...@@ -54,4 +52,4 @@ run options = do ...@@ -54,4 +52,4 @@ run options = do
-- | haskell's many string types are FUN … -- | haskell's many string types are FUN …
printLB :: LB.ByteString -> IO () printLB :: LB.ByteString -> IO ()
printLB = putStrLn . T.unpack . LB.decode utf8 printLB a = putStrLn $ C8.unpack $ LB.toStrict a
...@@ -58,7 +58,7 @@ executable walint ...@@ -58,7 +58,7 @@ executable walint
aeson, aeson,
aeson-pretty, aeson-pretty,
bytestring, bytestring,
bytestring-encoding, -- bytestring-encoding,
text text
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment