shithub: femtolisp

Download patch

ref: a5f91dd688f8893af969382133a05e7f85968f76
parent: bb2052f323bb6ad88cefbc67511fb431a01fa3e2
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Dec 23 18:46:34 EST 2024

boot: don't redefine *properties*

--- a/system.lsp
+++ b/system.lsp
@@ -9,7 +9,8 @@
 ;;
 ;; The assumption here is that keys will most likely be the same across multiple symbols
 ;; so it makes more sense to reduce the number of subtables for the *properties* table.
-(define *properties* (table))
+(unless (bound? '*properties*)
+  (define *properties* (table)))
 
 (define (void . rest) #.(void))
 (define (void? x) (eq? x #.(void)))