Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment: Even more cursed F-summoner #1888

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

neko-kai
Copy link
Member

@neko-kai neko-kai commented Feb 3, 2023

Current F-summoner has a weakness that it can't be used to access disconnected typeclasses, such as Primitives and Clock, if there isn't an instance of Functor3 Root sub-hierarchy around - either direct instances or converted from other sub-hierarchy such as Bifunctor3 or Arrow3.

Seems like this could be "fixed" by adding a default value to implicit search for Functor3 so that it's used if there's no Functor3[F] around - and adding implicit conversions and methods ONTO that value.

@neko-kai neko-kai changed the title Even more cursed F-summoner Experiment: Even more cursed F-summoner Mar 13, 2024
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.

None yet

1 participant