Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

# Documentation

spanEither :: ([a] -> [b] -> c) -> [Either a b] -> c Source #

Optimized and CPS'd version of `partitionEithers`

, where all lefts are known to come before all rights

Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

spanEither :: ([a] -> [b] -> c) -> [Either a b] -> c Source #

Optimized and CPS'd version of `partitionEithers`

, where all lefts are known to come before all rights