CurryInfo: flatcurry-annotated-3.3.0 / FlatCurry.Annotated.Pretty.isTupleId

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