|
definition: |
foldr :: (a -> b -> b) -> b -> [a] -> b foldr _ z [] = z foldr f z (x:xs) = f x (foldr f z xs) |
|
demand: |
argument 3 |
|
deterministic: |
deterministic operation |
|
documentation: |
| Accumulates all list elements by applying a binary operator from right to left. |
|
failfree: |
(_, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,{[]}) |-> _ || (_,_,{:}) |-> _}
|
|
name: |
foldr |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
(a -> b -> b) -> b -> [a] -> b |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |