aboutsummaryrefslogtreecommitdiff
path: root/src/interp/define.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/define.boot')
-rw-r--r--src/interp/define.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interp/define.boot b/src/interp/define.boot
index 7d60c85c..44ace682 100644
--- a/src/interp/define.boot
+++ b/src/interp/define.boot
@@ -486,6 +486,7 @@ NRTmakeCategoryAlist(db,e) ==
--NOTE: this is new form: old form satisfies vector? CDDR form
encodeCatform(db,x) ==
+ x is '$ => x
k := assocIndex(db,x) => k
x isnt [.,:.] or rest x isnt [.,:.] => x
[first x,:[encodeCatform(db,y) for y in rest x]]