Skip to content

Commit d515c83

Browse files
committed
sort imported items in import statements
1 parent 949f87e commit d515c83

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/File.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import Control.Monad (guard, when)
66
import Data.ByteString.Lazy qualified as ByteString
77
import Data.ByteString.Lazy.Char8 qualified as Char8
88
import Data.Char (isSpace)
9-
import Data.List.NonEmpty (NonEmpty((:|)), (<|), head, tail,
10-
uncons, prependList, toList)
9+
import Data.List.NonEmpty ((<|), NonEmpty((:|)), head,
10+
prependList, tail, toList, uncons)
1111
import Data.Tuple.Extra (second)
12-
import Prelude hiding (head, tail)
1312
import System.Exit (exitFailure)
1413
import System.IO
14+
import Prelude hiding (head, tail)
1515

1616
import Option
1717

src/Main.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
module Main where
22

33
import Control.Applicative ((<|>))
4-
import Control.Monad (forM_, guard, when, unless)
4+
import Control.Monad (forM_, guard, unless, when)
55
import Data.Char (isSpace)
6-
import Data.List (isSuffixOf, intercalate, transpose)
6+
import Data.List (intercalate, isSuffixOf, transpose)
77
import Data.Map qualified as Map
88
import Data.Maybe (fromMaybe, isJust)
9-
import Data.Set as Set ((\\), fromList, union)
9+
import Data.Set as Set (fromList, union, (\\))
1010
import Database.SQLite.Simple qualified as SQLite
11-
import Options.Applicative (execParser, helper, info, fullDesc, header)
11+
import Options.Applicative (execParser, fullDesc, header, helper, info)
1212
import System.Exit (exitFailure)
1313
import System.IO
1414
import Text.Read (readMaybe)

src/SQL.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module SQL (open, close, createTable, insertRow, execute) where
22

3-
import Control.Exception (try, SomeException)
3+
import Control.Exception (SomeException, try)
44
import Control.Monad (forM)
55
import Data.List (intercalate)
66
import Data.String (fromString)

0 commit comments

Comments
 (0)