Extra-1.29: A grab bag of modules.
Source code
Contents
Index
Extra.Either
Synopsis
lefts
:: [
Either
a b] -> [a]
rights
:: [
Either
a b] -> [b]
concatEithers
:: [
Either
a b] ->
Either
[a] [b]
partitionEithers
:: [
Either
a b] -> ([a], [b])
Documentation
lefts
:: [
Either
a b] -> [a]
Source
rights
:: [
Either
a b] -> [b]
Source
concatEithers
:: [
Either
a b] ->
Either
[a] [b]
Source
Turn a list of eithers into an either of lists
partitionEithers
:: [
Either
a b] -> ([a], [b])
Source
Return a pair of the lefts and the rights
Produced by
Haddock
version 2.6.0