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

Default interface should have no name, instead of copying "Constructor convention" #34

Open
VonTum opened this issue Nov 21, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers Request Input These are issues about the design of the language, and thus should be discussed

Comments

@VonTum
Copy link
Collaborator

VonTum commented Nov 21, 2024

Right now, the default interface has the module name:

module multiply_add {
  interface multiply_add: int a, int b, int c -> int o
  /*...*/
}

Instead, we should have it be the abscence of a name:

module multiply_add {
  interface: int a, int b, int c -> int o
  /*...*/
}

Or further still, for purely functional modules:

module multiply_add : int a, int b, int c -> int o {
  /*...*/
}
@VonTum VonTum added enhancement New feature or request good first issue Good for newcomers labels Nov 21, 2024
@VonTum VonTum added the Request Input These are issues about the design of the language, and thus should be discussed label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Request Input These are issues about the design of the language, and thus should be discussed
Projects
None yet
Development

No branches or pull requests

1 participant