-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
List methods #1086
List methods #1086
Conversation
struct Pair[T0, T1] { | ||
first: T0, | ||
second: T1, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Martinaise, I use A and B as types and a and b as field names. Opinions?
(Although, in my experience, that pattern leads to compiler errors when you try to introduce a type named C as a compiler stage.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'll leave it as a generic T
for now, but use different type parameter names if they correspond to something specific (like how we use a lifetime 'h
for referencing the HIR)
Depends on #1085!Checklist