We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6711daf + e3ea7d7 commit 10296dfCopy full SHA for 10296df
System/FilePath/Internal.hs
@@ -426,7 +426,6 @@ stripExtension ext path = case uncons ext of
426
-- > splitExtensions "file.tar.gz" == ("file",".tar.gz")
427
-- > uncurry (<>) (splitExtensions x) == x
428
-- > Valid x => uncurry addExtension (splitExtensions x) == x
429
--- > splitExtensions "file.tar.gz" == ("file",".tar.gz")
430
splitExtensions :: FILEPATH -> (FILEPATH, STRING)
431
splitExtensions x = (a <> c, d)
432
where
0 commit comments