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