summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actinide/stdlib.py4
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)