|
definition: |
tcons2SMT :: QName -> String tcons2SMT (mn,tc) | "_Dict#" `isPrefixOf` tc = "Dict" -- since we do not yet consider class dictionaries... | mn == "Prelude" && take 3 tc == "(,," = "Tuple" ++ show (length tc - 1) | mn == "Prelude" = maybe (encodeSpecialChars tc) id (lookup tc transPrimTCons) | otherwise = mn ++ "_" ++ encodeSpecialChars tc |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Translates a FlatCurry type constructor name into SMT. |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({(,)}) |-> _}
|
|
name: |
tcons2SMT |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
(String, String) -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |