mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
Change Eq(R)
to Eq
This commit is contained in:
parent
9f85c88e7e
commit
d56549f528
15 changed files with 231 additions and 196 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue