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
import Data.Aeson (encode)
import Data.Aeson.Encode.Pretty (encodePretty)
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.Text.Lazy as T
import System.IO (utf8)
import WithCli
import Util (printPretty)
......@@ -54,4 +52,4 @@ run options = do
-- | haskell's many string types are FUN …
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
aeson,
aeson-pretty,
bytestring,
bytestring-encoding,
-- bytestring-encoding,
text
hs-source-dirs: src
default-language: Haskell2010
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment