Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
walint
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
hub
walint
Commits
6a16828b
Unverified
Commit
6a16828b
authored
3 years ago
by
stuebinm
Browse files
Options
Downloads
Patches
Plain Diff
removed unnecessary dependency
parent
fafc59bf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Main.hs
+2
-4
2 additions, 4 deletions
src/Main.hs
walint.cabal
+1
-1
1 addition, 1 deletion
walint.cabal
with
3 additions
and
5 deletions
src/Main.hs
+
2
−
4
View file @
6a16828b
...
...
@@ -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
This diff is collapsed.
Click to expand it.
walint.cabal
+
1
−
1
View file @
6a16828b
...
...
@@ -58,7 +58,7 @@ executable walint
aeson,
aeson-pretty,
bytestring,
bytestring-encoding,
--
bytestring-encoding,
text
hs-source-dirs: src
default-language: Haskell2010
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment