Skip to content

Commit 297c29f

Browse files
committed
Eliminate redundant Path.Extended module
1 parent 2c02bbc commit 297c29f

File tree

5 files changed

+4
-39
lines changed

5 files changed

+4
-39
lines changed

package.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ library:
169169
- Options.Applicative.Builder.Extra
170170
- Options.Applicative.Complicated
171171
- Path.CheckInstall
172-
- Path.Extended
173172
- Path.Extra
174173
- Path.Find
175174
- Stack

src/Path/Extended.hs

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/Stack/Lock.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ import qualified Data.Map as Map
2424
import qualified Data.Text as T
2525
import qualified Data.Yaml as Yaml
2626
import qualified RIO.NonEmpty as NE
27-
import Path ( parent )
28-
import Path.Extended ( addExtension )
27+
import Path ( addExtension, parent )
2928
import Path.IO ( doesFileExist )
3029
import Stack.Prelude
3130
import Stack.SourceMap ( snapToDepPackage )

src/Stack/Setup.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,11 @@ import Network.HTTP.StackClient
7474
)
7575
import Network.HTTP.Simple ( getResponseHeader )
7676
import Path
77-
( (</>), addExtension, filename, parent, parseAbsDir
78-
, parseAbsFile, parseRelDir, parseRelFile, takeDrive
79-
, toFilePath
77+
( (</>), addExtension, fileExtension, filename, parent
78+
, parseAbsDir, parseAbsFile, parseRelDir, parseRelFile
79+
, takeDrive, toFilePath
8080
)
8181
import Path.CheckInstall ( warnInstallSearchPathIssues )
82-
import Path.Extended ( fileExtension )
8382
import Path.Extra ( toFilePathNoTrailingSep )
8483
import Path.IO
8584
( canonicalizePath, doesFileExist, ensureDir, executable

stack.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ library
205205
Options.Applicative.Builder.Extra
206206
Options.Applicative.Complicated
207207
Path.CheckInstall
208-
Path.Extended
209208
Path.Extra
210209
Path.Find
211210
Stack

0 commit comments

Comments
 (0)