This PR adds grate to Distributive. It's a less powerful version of tabulateAlg, so we cannot zipWith as polymorphically. grate is slightly more powerful than existing members.
Alternatively we could use RankNTypes and add tabulateAlg instead to Distributive.
To restart discussion about recent-ish changes in
adjunctions
: https://github.com/ekmett/adjunctions/pull/49, i.e. what to do next.This PR adds
grate
toDistributive
. It's a less powerful version oftabulateAlg
, so we cannot zipWith as polymorphically.grate
is slightly more powerful than existing members.Alternatively we could use
RankNTypes
and addtabulateAlg
instead toDistributive
.