Closed adrian-gierakowski closed 6 years ago
Good idea. I think the type would be Bifunctor f => (a -> b) -> f a c -> f b c
.
Are you interested in submitting a pull request, @adrian-gierakowski? If so, please submit it to sanctuary-type-classes. The function will then make its way into Sanctuary itself in due course. :)
@davidchambers thank you for adding this, and appologies for not submitting a PR myself but I haven't noticed your initial reply and forgot about the issue :)
No problem, @adrian-gierakowski. Thanks for being the catalyst. :)
equivalent to:
trivial but handy