Skip to content

Conversation

@treeowl
Copy link

@treeowl treeowl commented Aug 26, 2017

Sometimes, the target functor of maps or mapped offers
a more efficient fmap than the source functor. Add versions
of maps, mapped, and mapsM that use that one instead.

@treeowl
Copy link
Author

treeowl commented Aug 26, 2017

I don't much like the 2 names I picked; please feel free to suggest better ones.

Sometimes, the target functor of `maps` or `mapped` offers
a more efficient `fmap` than the source functor. Add versions
of `maps`, `mapped`, and `mapsM` that use that one instead.
Add explicitly "unsafe" `hoistUnexposed` and `hoistUnexposed2`.
Add "safe" `hoistUnexposed`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant