definition: |
map :: (a -> b) -> [a] -> [b] map _ [] = [] map f (x:xs) = f x : map f xs |
demand: |
argument 2 |
deterministic: |
deterministic operation |
documentation: |
--- Maps a function on all elements of a list. |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,{[]}) |-> {[]} || (_,{:}) |-> {:}} |
name: |
map |
precedence: |
no precedence defined |
result-values: |
{:,[]} |
signature: |
(a -> b) -> [a] -> [b] |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |