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

Enable discussions? Or how does CanReflect[IO] get provided? #3

Open
er1c opened this issue Dec 15, 2021 · 1 comment
Open

Enable discussions? Or how does CanReflect[IO] get provided? #3

er1c opened this issue Dec 15, 2021 · 1 comment

Comments

@er1c
Copy link

er1c commented Dec 15, 2021

How does this https://github.com/lampepfl/monadic-reflection/blob/main/cats/src/main/scala/monadic/cats/package.scala#L9 provide evidence of CanReflect[IO]?

@b-studios
Copy link
Contributor

b-studios commented Dec 22, 2021

I enabled discussions and we could also move it over there. It inherits from Monadic, which implements reify:

https://github.com/lampepfl/monadic-reflection/blob/main/core/src/main/scala/monadic/Monadic.scala#L31

reify itself generically instantiates CanReflect:

https://github.com/lampepfl/monadic-reflection/blob/main/core/src/main/scala/monadic/Monadic.scala#L39

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

No branches or pull requests

2 participants