diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2017-11-19 01:45:09 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2017-11-19 01:45:09 -0500 |
| commit | 54505db9f0cd1034a0d4cfe33abe1a518dec2af8 (patch) | |
| tree | 5780d6d53c06354fd85912522018106caad13495 | |
| parent | 7d0f50a771e081814af4a06e92812d0243df7fc4 (diff) | |
Boolean "not"
| -rw-r--r-- | actinide/stdlib.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actinide/stdlib.py b/actinide/stdlib.py index 6edaf78..2e8b6ac 100644 --- a/actinide/stdlib.py +++ b/actinide/stdlib.py @@ -67,6 +67,10 @@ def and_(a, b): def or_(a, b): return op.or_(a, b) +@An.fn +def not_(a): + return not a + def let(symbols, bindings, *body): if nil_p(bindings): return list(*body) |
