collect can often be substantially more efficient than distribute,
so it makes sense to offer genericCollect as well as genericDistribute,
and to base the implementations on an underlying gcollect.
Use collect more places distribute was used.
Move the coercion shim to a separate source directory so it won't
clutter up the main code, and make Cabal ignore it when we don't need
it.
collect
can often be substantially more efficient thandistribute
, so it makes sense to offergenericCollect
as well asgenericDistribute
, and to base the implementations on an underlyinggcollect
.Use
collect
more placesdistribute
was used.Move the coercion shim to a separate source directory so it won't clutter up the main code, and make Cabal ignore it when we don't need it.