Syntax for specifying requirement satisfaction explicitly. #744
kyouko-taiga
started this conversation in
Language design
Replies: 0 comments 5 replies
-
Technically the colons are not needed here, at least the way you're using them. Maybe |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not opposed to remove the colons, but less enthusiastic about In a conformance lens, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If a type wishes to conform to two different traits defining requirements with the same name, the current solution is to use separate conformance declarations:
Building on the conformance lens syntax, we could provide a way to specify explicitly the requirement being satisfied by a member declaration.
Beta Was this translation helpful? Give feedback.
All reactions