CurryInfo: currypath-3.0.0 / System.CurryPath.stripCurrySuffix

definition:
 
stripCurrySuffix :: String -> String
stripCurrySuffix s =
  if takeExtension s `elem` [".curry",".lcurry"]
    then dropExtension s
    else s
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
Strips the suffix `.curry` or `.lcurry` from a file name.
failfree:
 _
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_) |-> _}
name:
 stripCurrySuffix
precedence:
 no precedence defined
result-values:
 _
signature:
 String -> String
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term