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

Kernelize Start\Fire #682

Merged
merged 4 commits into from
Jul 2, 2021
Merged

Kernelize Start\Fire #682

merged 4 commits into from
Jul 2, 2021

Conversation

Odomontois
Copy link
Member

@Odomontois Odomontois commented Jul 1, 2021

Using basically the same approach as in #681, while parameterizing Start over Fiber into new type class Fibers

}

object Fire extends EffectComp[Fire] {
final implicit def byCarrier[F[_], Fib[_]](implicit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to note somehow that it's just for scala 2.12

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As in #681 this carrier allows Fib to be inferred within the macro, just like shapeless whitebox macros do the typelevel calculations we can depend on types that can be unknown if the needed module isn't in the classpath

FunFunFine
FunFunFine previously approved these changes Jul 1, 2021
@Odomontois Odomontois merged commit 3ea4ed7 into master Jul 2, 2021
@Odomontois Odomontois deleted the kernel-start branch July 2, 2021 08:26
@catostrophe catostrophe added the enhancement New feature or request label Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants