bb dev running (shadow-cljs watch on the squint build,
:output-dir "lib"). It recompiles lib/ on every save of a .cljc/.cljs
source. Don't run bb build (full release): it does fs/delete-tree "lib"
then a shadow release, which can leave lib/ missing and break bb dev
(runs node_cli.js, needs lib/cli.js).bb dev is a never-ending watch task. It prints Build completed once after
startup (~20s) then keeps watching. If you start it yourself, kill it after
that line.lib/cljs-runtime/*.js chunk
(e.g. lib/cljs-runtime/squint.compiler.js) for the new code.and chain of n operands ending in
recur emitted the recur 2^n times under a probe.Needs THREE steps (e.g. dedupe):
export function in src/squint/core.js.dedupe, foo_QMARK_) to
resources/squint/core.edn. This list is the set of vars the compiler
prefixes with squint_core.. A var NOT in core.edn emits as a BARE
identifier (no prefix) -> runtime ReferenceError, with no compile-time
warning (no-warn-on-unresolved is by design for now).lib/. core.edn is inlined at compile time by the
edn-resource macro (slurp at macroexpand, see
resources/squint/resource.clj), so editing the edn alone does nothing
until the shadow watch rebuilds lib/cljs-runtime/squint.compiler.js.Transducer-capable fns follow the arguments.length === 0 -> return xform
pattern (see filter/distinct and their *1 helpers). Use _EQ_ for value
equality (deep), not ===.
:foo/bar -> "foo/bar". No distinct keyword
type, so keyword?/symbol?/namespace are absent by design. name exists.(get m false) != (get m "false").Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |