CurryInfo: call-analysis-3.2.0 / Analysis.cutDTerm

definition: Info
 
cutDTerm :: Int -> DTerm -> DTerm
cutDTerm _ DBot = DBot
cutDTerm _ CutVar = CutVar
cutDTerm d (DCons c args) | d==0      = CutVar
                          | otherwise = DCons c (map (cutDTerm (d-1)) args)
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
cut a depth-k term larger than a given depth:
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{DBot}) |-> {DBot} || (_,{CutVar}) |-> {CutVar} || (_,{DCons}) |-> {CutVar,DCons}}
name: Info
 cutDTerm
precedence: Info
 no precedence defined
result-values: Info
 {CutVar,DBot,DCons}
signature: Info
 Prelude.Int -> DTerm -> DTerm
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term