CurryInfo: currypath-3.0.0 / System.CurryPath.stripCurrySuffix

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