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

Allow inline type declarations #74

Closed
mat-hek opened this issue May 12, 2021 · 0 comments
Closed

Allow inline type declarations #74

mat-hek opened this issue May 12, 2021 · 0 comments
Assignees

Comments

@mat-hek
Copy link
Member

mat-hek commented May 12, 2021

Having supported structs and enums, we could allow declaring them inline in spec or send, for example:

spec my_fun(%My.Struct{id: integer, data: [payload], name: string}, some_argument :: :something | :something_else, :foo | :bar) :: :some_result | :another_result

Naming conventions and other considerations were discussed in #60 and #61

@mat-hek mat-hek changed the title Allow for inline type declarations Allow inline type declarations May 12, 2021
@FelonEkonom FelonEkonom self-assigned this Jun 30, 2021
@mat-hek mat-hek closed this as completed May 13, 2022
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