
11 Jan
2018
11 Jan
'18
10:32 p.m.
On 12 January 2018 at 13:28, David Feuer
Paolo G. Giarrusso (Blaisorblade) would like to add an unzip function to Data.Sequence. I agree. I propose adding
unzip :: Seq (a,b) -> (Seq a, Seq b)
unzipWith :: (x -> (a, b)) -> Seq x -> (Seq a, Seq b)
Does anyone object?
I see no problem with this. Though I think it's worth pointing out that Data.List doesn't have unzipWith (though unzipWith f = unzip . map f). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com