From cdd78cad516196701a3c304076a172bcdae1f34c Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Tue, 28 Nov 2023 19:23:44 -0800 Subject: [PATCH] Remove things from sandbox metadata instead of replacing. --- fennels.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fennels.fnl b/fennels.fnl index 9633a2d..bcfefcf 100644 --- a/fennels.fnl +++ b/fennels.fnl @@ -46,7 +46,7 @@ (fennel.eval "(eval-compiler (set _SPECIALS.eval-compiler nil) (set _SPECIALS.macros nil))")) - (fennel.eval "(eval-compiler (tset (require :fennel) :metadata {}))") + (fennel.eval "(eval-compiler (let [m (. (require :fennel) :metadata)] (each [k (pairs m)] (tset m k nil))))") fennel)) (var printed nil) -- 2.45.2