CurryInfo: contract-prover-4.0.0 / ContractProver.unzipBranches

definition:
unzipBranches :: [TABranchExpr] -> ([TAPattern],[TAExpr])
unzipBranches []                 = ([],[])
unzipBranches (ABranch p e : brs) = (p:xs,e:ys)
 where (xs,ys) = unzipBranches brs
demand:
argument 1
deterministic:
deterministic operation
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({[]}) |-> {(,)} || ({:}) |-> {(,)}}
name:
unzipBranches
precedence:
no precedence defined
result-values:
{(,)}
signature:
[FlatCurry.Annotated.Types.ABranchExpr FlatCurry.Types.TypeExpr]
-> ([FlatCurry.Annotated.Types.APattern FlatCurry.Types.TypeExpr], [FlatCurry.Annotated.Types.AExpr FlatCurry.Types.TypeExpr])
solution-complete:
operationally complete operation
terminating:
yes
totally-defined:
reducible on all ground data terms