git » jacl.git » commit 967de95

add temporary !array

author Alan Dipert
2019-11-05 17:03:25 UTC
committer Alan Dipert
2019-11-05 17:03:25 UTC
parent 73c9e5228a26ce23eb6de021bcac2e00e6a33b8b

add temporary !array

jacl.js +2 -0

diff --git a/jacl.js b/jacl.js
index a10b81d..7694dcb 100644
--- a/jacl.js
+++ b/jacl.js
@@ -308,7 +308,9 @@ const CLPKG = Package.makePackage('COMMON-LISP', 'CL');
 Package.makePackage('COMMON-LISP-USER', 'CL-USER');
 Package.makePackage('KEYWORD');
 
+// Temporary definitions for testing
 JACLPKG.intern('!LOG').fvalue = console.log;
+JACLPKG.intern('!ARRAY').fvalue = (...xs) => [...xs];
 
 // CL package constants
 // TODO update this, look into constants