Added function partitionEitherStream.