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:
parent
93cb7874bf
commit
f72c1c163a
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue