definition: |
reverse :: [a] -> [a] reverse = foldl (flip (:)) [] |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
--- Reverses the order of all elements in a list. |
failfree: |
() |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{() |-> {foldl}} |
name: |
reverse |
precedence: |
no precedence defined |
result-values: |
{foldl} |
signature: |
[a] -> [a] |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |