|
definition: |
addTInstName :: [Ident] -> TPSubst -> Ident -> Ident
addTInstName tps tsub n =
n ++ concatMap (\p -> maybe "" (('_':) . showSort) (FM.lookup p tsub)) tps
|
|
demand: |
argument 3 |
|
deterministic: |
deterministic operation |
|
documentation: |
Add a sort index to a name of a (polymorphic) function w.r.t. a list of type parameters and a type substitution. |
|
failfree: |
(_, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_) |-> _}
|
|
name: |
addTInstName |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[String] -> Data.Map.Map String Sort -> String -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |