Skip to content

Commit 77eba86

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

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/File.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ 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)
1212
import Prelude hiding (head, tail)
1313
import System.Exit (exitFailure)

src/Main.hs

Lines changed: 3 additions & 3 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)
99
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)