CurryInfo: filepath-3.0.0 / System.FilePath.takeBaseName

definition:
takeBaseName :: FilePath -> String
takeBaseName = dropExtension . takeFileName
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- | Get the base name, without an extension or path.
--
-- > takeBaseName "file/test.txt" == "test"
-- > takeBaseName "dave.ext" == "dave"
-- > takeBaseName "" == ""
-- > takeBaseName "test" == "test"
-- > takeBaseName (addTrailingPathSeparator x) == ""
-- > takeBaseName "file/file.tar.gz" == "file.tar"
failfree:
()
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> {.._#lambda508}}
name:
takeBaseName
precedence:
no precedence defined
result-values:
{.._#lambda508}
signature:
String -> String
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term