1

more syntactic sugar

This commit is contained in:
Christoph
2021-09-01 22:49:06 +02:00
parent 9e122d9ce6
commit 4e41cdc724
6 changed files with 115 additions and 21 deletions

View File

@ -9,6 +9,8 @@ def pass:
object inttrait:
def eq(other):
self $int_eq(other)
def noteq(other):
self $int_eq(other) not
def leq(other):
self $int_leq(other)
@ -31,6 +33,8 @@ object inttrait:
self $int_mod(other)
def inc:
self $int_inc
def dec:
self $int_dec
def tobool:
self $int_tobool