tablecloth icon indicating copy to clipboard operation
tablecloth copied to clipboard

Add List.partitionMap

Open Dean177 opened this issue 5 years ago • 0 comments

This would allow you to transform a list, returning either a Left or a Right to signal which component of the tuple the result should end up in

let partitionMap : 'a list -> f:('a -> ('b, 'c) Either.t)  -> 'b list * 'c list

Dean177 avatar May 21 '20 17:05 Dean177