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

Draft: experiments on traits #229

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

Conversation

clarus
Copy link
Collaborator

@clarus clarus commented Oct 4, 2023

This follows ideas from #225

What we will do:

  • Use a "bundled" approach, where super-traits are fields of the current trait. Thus a trait is always only parametrized by types.
  • Use the :: notation for super-traits or traits of the associated types.

We will see if it solves performance issues, and in particular, can compile ink_env.v.

@clarus clarus force-pushed the guillaume-claret@experiments-traits branch from 78fdff1 to f2d3e96 Compare October 6, 2023 12:05
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