utils: init with implies implementation

This commit is contained in:
Antoine Viallon 2023-05-23 00:50:11 +02:00
parent 45ce13ae99
commit 109a8aad13
Signed by: aviallon
GPG key ID: D126B13AB555E16F

2
compiler/utils.py Normal file
View file

@ -0,0 +1,2 @@
def implies(a: bool, b: bool) -> bool:
return (not b and not a) or b