definition: |
lefts :: [Either a b] -> [a] lefts x = [a | Left a <- x] |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Extracts from a list of `Either` all the `Left` elements in order. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_) |-> _} |
name: |
lefts |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
[Prelude.Either a b] -> [a] |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |