-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Much like go's interfaces, but would act much like generics + limitations
Possible Syntax:
protocol Addable {
Add(Addable other) Addable
}
Classes would automatically implement a protocol if they have the methods required.
Example usage would be for string()
protocol Stringable {
string() string
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request