Open treeowl opened 4 years ago
The fancier versions are of relatively limited utility, to be honest. Maybe we don't actually need them? I currently use upgrade2
to explain what underF
and overF
do for covariant and contravariant functors, but that doesn't seem worth the trouble of export. Aside from that: they could be used to construct certain HOF arguments to ala
, but by the time that's done the convenience of ala
seems to have been lost.... The alap
idea I had might be a better way of doing that sort of thing, but I don't know of an actual application for it at present.
I'm in favour of re-exporting from Wild
, unless there's significant benefit to be had in separating them out like that. However, I also think that adding stuff for the sake of adding it (particularly given what you've said about them being of limited utility) is probably not the best plan - better to keep things simple and coherent.
We want to have, in the
Newtype
module,But what should each of these be named?