@@ -17,48 +17,48 @@ module Build
17
17
)
18
18
where
19
19
20
- import qualified AST.Canonical as Can
21
- import qualified AST.Optimized as Opt
22
- import qualified AST.Source as Src
20
+ import AST.Canonical qualified as Can
21
+ import AST.Optimized qualified as Opt
22
+ import AST.Source qualified as Src
23
23
import AbsoluteSrcDir (AbsoluteSrcDir (.. ))
24
- import qualified AbsoluteSrcDir
25
- import qualified Compile
24
+ import AbsoluteSrcDir qualified
25
+ import Compile qualified
26
26
import Control.Concurrent (forkIO )
27
27
import Control.Concurrent.MVar
28
28
import Control.Monad (filterM )
29
- import qualified Data.ByteString as B
30
- import qualified Data.Char as Char
31
- import qualified Data.Graph as Graph
32
- import qualified Data.List as List
29
+ import Data.ByteString qualified as B
30
+ import Data.Char qualified as Char
31
+ import Data.Graph qualified as Graph
32
+ import Data.List qualified as List
33
33
import Data.Map.Strict ((!) )
34
- import qualified Data.Map.Strict as Map
35
- import qualified Data.Map.Utils as Map
36
- import qualified Data.Maybe as Maybe
37
- import qualified Data.Name as Name
38
- import qualified Data.NonEmptyList as NE
39
- import qualified Data.OneOrMore as OneOrMore
40
- import qualified Data.Set as Set
41
- import qualified Directories as Dirs
42
- import qualified File
43
- import qualified Gren.Details as Details
44
- import qualified Gren.Docs as Docs
45
- import qualified Gren.Interface as I
46
- import qualified Gren.ModuleName as ModuleName
47
- import qualified Gren.Outline as Outline
48
- import qualified Gren.Package as Pkg
49
- import qualified Json.Encode as E
50
- import qualified Parse.Module as Parse
51
- import qualified Reporting
52
- import qualified Reporting.Annotation as A
53
- import qualified Reporting.Error as Error
54
- import qualified Reporting.Error.Docs as EDocs
55
- import qualified Reporting.Error.Import as Import
56
- import qualified Reporting.Error.Syntax as Syntax
57
- import qualified Reporting.Exit as Exit
58
- import qualified Reporting.Render.Type.Localizer as L
59
- import qualified System.Directory as Dir
34
+ import Data.Map.Strict qualified as Map
35
+ import Data.Map.Utils qualified as Map
36
+ import Data.Maybe qualified as Maybe
37
+ import Data.Name qualified as Name
38
+ import Data.NonEmptyList qualified as NE
39
+ import Data.OneOrMore qualified as OneOrMore
40
+ import Data.Set qualified as Set
41
+ import Directories qualified as Dirs
42
+ import File qualified
43
+ import Gren.Details qualified as Details
44
+ import Gren.Docs qualified as Docs
45
+ import Gren.Interface qualified as I
46
+ import Gren.ModuleName qualified as ModuleName
47
+ import Gren.Outline qualified as Outline
48
+ import Gren.Package qualified as Pkg
49
+ import Json.Encode qualified as E
50
+ import Parse.Module qualified as Parse
51
+ import Reporting qualified
52
+ import Reporting.Annotation qualified as A
53
+ import Reporting.Error qualified as Error
54
+ import Reporting.Error.Docs qualified as EDocs
55
+ import Reporting.Error.Import qualified as Import
56
+ import Reporting.Error.Syntax qualified as Syntax
57
+ import Reporting.Exit qualified as Exit
58
+ import Reporting.Render.Type.Localizer qualified as L
59
+ import System.Directory qualified as Dir
60
60
import System.FilePath ((<.>) , (</>) )
61
- import qualified System.FilePath as FP
61
+ import System.FilePath qualified as FP
62
62
63
63
-- ENVIRONMENT
64
64
@@ -846,7 +846,8 @@ checkRoots infos =
846
846
loc2 : _ -> Left (Exit. BP_MainPathDuplicate (_relative loc) (_relative loc2))
847
847
in fmap (\ _ -> fmap _location infos) $
848
848
traverse (OneOrMore. destruct fromOneOrMore) $
849
- Map. fromListWith OneOrMore. more $ map toOneOrMore (NE. toList infos)
849
+ Map. fromListWith OneOrMore. more $
850
+ map toOneOrMore (NE. toList infos)
850
851
851
852
-- ROOT INFO
852
853
0 commit comments