More Data.Set and Data.Map operations

Henning Thielemann lemming at henning-thielemann.de
Sun Aug 7 19:27:55 UTC 2016


On Sun, 7 Aug 2016, Edward Kmett wrote:

> When the predicate is monotone then all of those operations have the same semantics as filter.

Which is true for takeWhile, dropWhile and span. I find the 'filter' names 
also highly misleading.


More information about the Libraries mailing list