|
definition: |
genSelName :: QName -> Int -> String genSelName qc@(mn,fn) i | mn == "Prelude" && take 3 fn == "(,," = transOpName qc ++ "_" ++ show i | otherwise = "sel" ++ show i ++ '-' : transOpName qc |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Generates the name of the i-th selector for a given constructor. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({(,)},_) |-> _}
|
|
name: |
genSelName |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
(String, String) -> Prelude.Int -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |