You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I think this is right. It took me a while to see it, but the grate in collectOf is currently trying to replace the wrong functor. It should be taking the place of the Distributive funtctor, not the other one.
so i played with Grate and Distributive. It look like
collectOf
should be defined like this:so i can do
collectOf cotraversed
, in psci it yield type:which what i want. But if i apply the current implementation to
cotraversed
it will yied:which i believe not what we want. Notice the
Distributive
constraint appear both in input and output.The text was updated successfully, but these errors were encountered: