CurryInfo: currycheck-4.0.0 / CurryCheck.stripSuffix

definition:
stripSuffix :: String -> String -> String
stripSuffix str suf = if suf `isSuffixOf` str
                      then take (length str - length suf) str
                      else str
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- Strips a suffix from a string.
indeterministic:
referentially transparent operation
infix:
no fixity defined
name:
stripSuffix
precedence:
no precedence defined
result-values:
_
signature:
String -> String -> String
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms