CurryInfo: filepath-3.0.0 / System.FilePath.splitExtensions

definition:
splitExtensions :: FilePath -> (FilePath, String)
splitExtensions x = (a ++ c, d)
    where
        (a,b) = splitFileName_ x
        (c,d) = break isExtSeparator b
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- | Split on all extensions
--
-- > uncurry (++) (splitExtensions x) == x
-- > uncurry addExtension (splitExtensions x) == x
-- > splitExtensions "file.tar.gz" == ("file",".tar.gz")
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> {(,)}}
name:
splitExtensions
precedence:
no precedence defined
result-values:
{(,)}
signature:
String -> (String, String)
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term