Eq型クラス
等値性を判断できる型
同値関係を満たしている必要がある
hsではその他にExtensionalityとNegationも満たしている必要がある ref
methods
==, /=
fp-ts ref
code:ts
interface Eq<A> {
readonly equals: (x: A, y: A) => boolean
}
gcantiの記事は既に内容が古いmrsekut.icon
https://kazchimo.com/2021/05/31/fp-ts-eq/