CurryInfo: base-3.4.0 / Data.List.scanr

definition: Info
 
scanr             :: (a -> b -> b) -> b -> [a] -> [b]
scanr _ q0 []     =  [q0]
scanr f q0 (x:xs) =  f x q : qs
                     where qs@(q:_) = scanr f q0 xs
demand: Info
 argument 3
deterministic: Info
 deterministic operation
documentation: Info
 
`scanr` is the right-to-left dual of `scanl`.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,{[]}) |-> {:} || (_,_,{:}) |-> {:}}
name: Info
 scanr
precedence: Info
 no precedence defined
result-values: Info
 {:}
signature: Info
 (a -> b -> b) -> b -> [a] -> [b]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 possibly non-reducible on same data term