aboutsummaryrefslogtreecommitdiff
path: root/neb/structs.py
diff options
context:
space:
mode:
authormryouse2022-07-29 19:35:26 +0000
committermryouse2022-07-29 19:35:26 +0000
commit8c7ff22c9cce5478eb20046b7f5f649f529cdf95 (patch)
tree842c4e79a0e2b05f52e89e556f39b3f8f6978eb7 /neb/structs.py
parent82f5622dd6babf8d3984b694a3267aa3eae92d12 (diff)
implement a :nil type, which is the empty list
Diffstat (limited to 'neb/structs.py')
-rw-r--r--neb/structs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neb/structs.py b/neb/structs.py
index 8c643b5..2423a69 100644
--- a/neb/structs.py
+++ b/neb/structs.py
@@ -121,7 +121,7 @@ class Type:
else:
return self.name
-_native_types = ":any :literal :string :bool :number :int :float :[] :{} :handle :type"
+_native_types = ":any :literal :string :bool :number :int :float :[] :nil :{} :handle :type"
ALL_TYPES = {x: Type(x) for x in _native_types.split(" ")}
class Symbol: