definition: |
isTupleId :: QName -> Bool isTupleId (m, i) = m `elem` ["Prelude", ""] && i == mkTuple (length i) where mkTuple n = '(' : replicate (n - 2) ',' ++ ")" |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Check whether an identifier represents a tuple |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({(,)}) |-> _} |
name: |
isTupleId |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
(String, String) -> Prelude.Bool |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
reducible on all ground data terms |