utils: init with implies implementation
This commit is contained in:
parent
45ce13ae99
commit
109a8aad13
1 changed files with 2 additions and 0 deletions
2
compiler/utils.py
Normal file
2
compiler/utils.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
def implies(a: bool, b: bool) -> bool:
|
||||
return (not b and not a) or b
|
||||
Loading…
Add table
Add a link
Reference in a new issue