Expose cljs.core/Cons in SCI config (#142)

This allows (instance? cljs.core/Cons x) to work in Scittle code.

The Cons type exists in the compiled ClojureScript runtime but was not
exposed by name in SCI's symbol table. Libraries like Trove need this
for type checking in their const-form? function.
This commit is contained in:
FrankS 2025-12-09 13:11:25 -08:00 committed by GitHub
parent 93cb7874bf
commit f72c1c163a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,8 @@
'NaN? (sci/copy-var NaN? cljns)
'infinite? (sci/copy-var infinite? cljns)
'iteration (sci/copy-var iteration cljns)
'abs (sci/copy-var abs cljns)}
'abs (sci/copy-var abs cljns)
'Cons cljs.core/Cons}
'goog.object {'set gobject/set
'get gobject/get}
'goog.string {'format gstring/format