Skip to content

Commit 911af27

Browse files
committed
Import fix
1 parent 796d760 commit 911af27

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

app/Main.hs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33

44
module Main where
55

6-
import Data.Foldable (asum)
7-
import Data.Text (
8-
Text,
9-
pack,
10-
)
11-
import Data.Text.IO qualified as Text
12-
import GitHash
6+
import qualified Data.Foldable
7+
import Data.Text (Text, pack)
8+
import qualified Data.Text.IO as Text
9+
import GitHash (giBranch, giHash, tGitInfoCwdTry)
1310
import Options.Applicative
1411
import Swarm.App (appMain)
1512
import Swarm.DocGen (EditorType (..), GenerateDocs (..), generateDocs)
1613
import Swarm.Language.LSP (lspMain)
1714
import Swarm.Language.Pipeline (processTerm)
18-
import System.Exit
15+
import System.Exit (exitFailure, exitSuccess)
1916

2017
data CLI
2118
= Run
@@ -50,7 +47,7 @@ cliParser =
5047
]
5148
editor :: Parser (Maybe EditorType)
5249
editor =
53-
asum
50+
Data.Foldable.asum
5451
[ pure Nothing
5552
, Just VSCode <$ switch (long "code" <> help "Generate for the VS Code editor")
5653
, Just EMacs <$ switch (long "emacs" <> help "Generate for the EMacs editor")

0 commit comments

Comments
 (0)