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

Add typeclass example #5

Open
wants to merge 1 commit into
base: refinements
Choose a base branch
from
Open

Conversation

Sporarum
Copy link
Collaborator

@Sporarum Sporarum commented Jul 21, 2023

Actually I'm not sure if what I added to the neg test should fail, see below for analogy with dependent types
https://scastie.scala-lang.org/lPQIFrhPTL6dNZq2LWDdzg

Every use of using should be replaced instead by context bounds, but this does not work, as the synthetic using parameter is put at the end, so is not available

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