Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data.Discrimination.Internal
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
discrimination-0.3: Fast generic linear-time sorting, joins and container construction.
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data.Discrimination.Internal
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