Intersect by and union documentation in base

Bram Neijt bneijt at
Sun Apr 22 15:34:16 CEST 2012

Dear library maintainers,

I've used both intersectBy and unionBy from the Base.List module.

For intersectBy the documentation did not mention which element will
be used when an element is in both lists.

The attached patch adds a line to the documentation of intersectBy,
where I think it makes sense to add this information.

The unionBy documentaiton has the same kind of problem, however I did
not patch that because I'm not sure whether this is part of the
contract union whats to take on (I mean being deterministic in which
list is the preferred source of elements).

Please consider updating the documentation and feel free to contact me
for more information if needed.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-documentation-of-intersectBy.patch
Type: application/octet-stream
Size: 991 bytes
Desc: not available
URL: <>

More information about the Libraries mailing list