Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit d4bec7b

Browse files
committed
yo
1 parent 654c189 commit d4bec7b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

squint/corpus/core_vars.cljs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@
2020
(log (str (foo {:foo 1 :bar 2})))
2121

2222
(prn (reverse (map (fn [x] (inc x)) [1 2 3])))
23+
24+
(derive :foo/bar :foo/baz)
25+
26+
(prn (isa? :foo/bar :foo/baz))

squint/corpus/core_vars.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { first, dissoc, map, reverse, get, prn, vector, keyword, str, clj__GT_js, arrayMap } from 'cherry-cljs/cljs.core.js'
1+
import { first, dissoc, map, reverse, get, prn, vector, derive, keyword, str, clj__GT_js, isa_QMARK_, arrayMap } from 'cherry-cljs/cljs.core.js'
22

33
const js_map = clj__GT_js(arrayMap(keyword("foo"), keyword("bar")));
44
console.log(js_map);
@@ -18,3 +18,5 @@ return (function () {
1818
return (x + 1);
1919
})();
2020
}, vector(1, 2, 3))));
21+
derive(keyword("foo/bar"), keyword("foo/baz"));
22+
prn(isa_QMARK_(keyword("foo/bar"), keyword("foo/baz")));

squint/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
],
1010
"devDependencies": {
1111
"@vercel/ncc": "^0.34.0",
12+
"chalk": "^5.0.1",
1213
"cherry-cljs": ".",
13-
"chalk": "^5.0.1"
14+
"esbuild": "^0.14.49"
1415
}
1516
}

0 commit comments

Comments
 (0)