Change Eq(R) to Eq

This commit is contained in:
Shunsuke Shibayama 2022-10-25 01:53:52 +09:00
parent 9f85c88e7e
commit d56549f528
15 changed files with 231 additions and 196 deletions

View file

@ -10,7 +10,7 @@ Point|Point <: Mul(Point)|.
Output = Nat
__mul__ self, other: Point =
self::x * other::x + self::y * other::y
Point|Point <: Eq(Point)|.
Point|Point <: Eq|.
__eq__ self, other: Point =
self::x == other::x and self::y == other::y