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

@ -106,6 +106,11 @@ def simple_int_increment(a):
return a + 1
@primitive("int_dec", [int], int)
def simple_int_decrement(a):
return a - 1
@primitive("int_tobool", [int], bool)
def simple_int_tobool(a):
return a