Created
March 27, 2022 18:50
-
-
Save fogfish/1b6e87b2c665081c0023f93e868bca0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Eq : T ⟼ T ⟼ bool | |
Each trait implements mapping pair of value to bool category using own | |
equality rules | |
*/ | |
type Eq [T any] interface { | |
Equal(T, T) bool | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment