CurryInfo: verify-non-fail-2.0.0 / Verify.WithSMT.encodeSpecialChars

definition: Info
 
encodeSpecialChars :: String -> String
encodeSpecialChars = concatMap encChar
 where
  encChar c | c `elem` "#$%[]()!,"
            = let oc = ord c
              in ['%', int2hex (oc `div` 16), int2hex(oc `mod` 16)]
            | otherwise = [c]

  int2hex i = if i<10 then chr (ord '0' + i)
                      else chr (ord 'A' + i - 10)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Encode special characters in strings  
failfree: Info
 ()
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {() |-> {.._#lambda508}}
name: Info
 encodeSpecialChars
precedence: Info
 no precedence defined
result-values: Info
 {.._#lambda508}
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