Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
calcit IR file generated from https://github.com/calcit-lang/calcit-ir-viewer .
This file has been truncated, but you can view the full file.
{
"configs": {
"initFn": "app.main/main!",
"reloadFn": "app.main/reload!"
},
"files": {
"respo.core": {
"import": {
"element?": {
"ns": "respo.util.detect",
"nsInStr": false,
"kind": "def",
"def": "element?"
},
"find-element-diffs": {
"ns": "respo.render.diff",
"nsInStr": false,
"kind": "def",
"def": "find-element-diffs"
},
"detect-func-in-map?": {
"ns": "respo.util.list",
"nsInStr": false,
"kind": "def",
"def": "detect-func-in-map?"
},
"pick-event": {
"ns": "respo.util.list",
"nsInStr": false,
"kind": "def",
"def": "pick-event"
},
"compare-xy": {
"ns": "respo.util.comparator",
"nsInStr": false,
"kind": "def",
"def": "compare-xy"
},
"activate-instance!": {
"ns": "respo.controller.client",
"nsInStr": false,
"kind": "def",
"def": "activate-instance!"
},
"patch-instance!": {
"ns": "respo.controller.client",
"nsInStr": false,
"kind": "def",
"def": "patch-instance!"
},
"reset-calling-caches!": {
"ns": "memof.alias",
"nsInStr": false,
"kind": "def",
"def": "reset-calling-caches!"
},
"effect?": {
"ns": "respo.util.detect",
"nsInStr": false,
"kind": "def",
"def": "effect?"
},
"purify-element": {
"ns": "respo.util.format",
"nsInStr": false,
"kind": "def",
"def": "purify-element"
},
"build-deliver-event": {
"ns": "respo.controller.resolve",
"nsInStr": false,
"kind": "def",
"def": "build-deliver-event"
},
"tick-calling-loop!": {
"ns": "memof.alias",
"nsInStr": false,
"kind": "def",
"def": "tick-calling-loop!"
},
"collect-mounting": {
"ns": "respo.render.effect",
"nsInStr": false,
"kind": "def",
"def": "collect-mounting"
},
"schema": {
"ns": "respo.schema",
"nsInStr": false,
"kind": "ns",
"def": null
},
"component?": {
"ns": "respo.util.detect",
"nsInStr": false,
"kind": "def",
"def": "component?"
},
"pick-attrs": {
"ns": "respo.util.list",
"nsInStr": false,
"kind": "def",
"def": "pick-attrs"
},
"val-exists?": {
"ns": "respo.util.list",
"nsInStr": false,
"kind": "def",
"def": "val-exists?"
},
"filter-first": {
"ns": "respo.util.list",
"nsInStr": false,
"kind": "def",
"def": "filter-first"
}
},
"defs": {
"realize-ssr!": {
"kind": "fn",
"ns": "respo.core",
"name": "realize-ssr!",
"args": [
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "dispatch!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "not",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "not",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "string?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "string?",
"nsInStr": false
}
},
"1st argument should be an element"
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"expects 1st argument to be string"
]
],
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "instance?",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element-type",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "element-type",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
null,
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "echo",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "echo",
"nsInStr": false
}
},
"Failed assertion:",
[
{
"kind": "symbol",
"val": "quote",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "instance?",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element-type",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"1st argument should be an element (instance? element-type target)"
]
]
]
],
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "not",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "not",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "string?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "string?",
"nsInStr": false
}
},
"2nd argument should be a component"
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"expects 1st argument to be string"
]
],
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "component?",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.util.detect",
"def": "component?",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
null,
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "echo",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "echo",
"nsInStr": false
}
},
"Failed assertion:",
[
{
"kind": "symbol",
"val": "quote",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "component?",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"2nd argument should be a component (component? element)"
]
]
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "app-element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": ".-firstElementChild",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "atom",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "[]",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "[]",
"nsInStr": false
}
}
]
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "collect!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "defn",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "f%",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "not",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "not",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "string?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "string?",
"nsInStr": false
}
},
"change op should has length 3"
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"expects 1st argument to be string"
]
],
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "=",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "=",
"nsInStr": false
}
},
3.0,
[
{
"kind": "symbol",
"val": "count",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "count",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
null,
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "echo",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "echo",
"nsInStr": false
}
},
"Failed assertion:",
[
{
"kind": "symbol",
"val": "quote",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "=",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
3.0,
[
{
"kind": "symbol",
"val": "count",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"change op should has length 3 (= 3 (count x))"
]
]
]
],
[
{
"kind": "symbol",
"val": "reset!",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "reset!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "conj",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "conj",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "deref",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "deref",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "deliver-event",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "build-deliver-event",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.controller.resolve",
"def": "build-deliver-event",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*global-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "*global-element",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "dispatch!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
[
{
"kind": "symbol",
"val": "if",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "nil?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "nil?",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "app-element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"Detected no element from SSR!"
]
],
[
{
"kind": "symbol",
"val": "compare-to-dom!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "purify-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.util.format",
"def": "purify-element",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
{
"kind": "symbol",
"val": "app-element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "collect-mounting",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.render.effect",
"def": "collect-mounting",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "collect!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "[]",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "[]",
"nsInStr": false
}
}
],
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
true
],
[
{
"kind": "symbol",
"val": "patch-instance!",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.controller.client",
"def": "patch-instance!",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "deref",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "deref",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "deliver-event",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "reset!",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "reset!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*global-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "*global-element",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "mute-element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
]
]
]
]
},
"style": {
"kind": "fn",
"ns": "respo.core",
"name": "style",
"args": [
{
"kind": "symbol",
"val": "props",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "&",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "children",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": "create-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "create-element",
"nsInStr": false
}
},
{
"kind": "keyword",
"val": "style"
},
{
"kind": "symbol",
"val": "props",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "&",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "map",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "map",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "confirm-child",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "confirm-child",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "children",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
},
">>": {
"kind": "fn",
"ns": "respo.core",
"name": ">>",
"args": [
{
"kind": "symbol",
"val": "states",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "k",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "parent-cursor",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "nil?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "nil?",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "get",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "get",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "states",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "keyword",
"val": "cursor"
}
]
],
[
{
"kind": "symbol",
"val": "[]",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "[]",
"nsInStr": false
}
}
],
[
{
"kind": "symbol",
"val": "get",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "get",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "states",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "keyword",
"val": "cursor"
}
]
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "branch",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "nil?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "nil?",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "get",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "get",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "states",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "k",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
[
{
"kind": "symbol",
"val": "&{}",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "&{}",
"nsInStr": false
}
}
],
[
{
"kind": "symbol",
"val": "get",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "get",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "states",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "k",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
],
[
{
"kind": "symbol",
"val": "assoc",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "assoc",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "branch",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "keyword",
"val": "cursor"
},
[
{
"kind": "symbol",
"val": "conj",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "conj",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "parent-cursor",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "k",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
]
]
},
"div": {
"kind": "fn",
"ns": "respo.core",
"name": "div",
"args": [
{
"kind": "symbol",
"val": "props",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "&",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "children",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": "create-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "create-element",
"nsInStr": false
}
},
{
"kind": "keyword",
"val": "div"
},
{
"kind": "symbol",
"val": "props",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "&",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "map",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "map",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "confirm-child",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "confirm-child",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "children",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
},
"extract-effects-list": {
"kind": "fn",
"ns": "respo.core",
"name": "extract-effects-list",
"args": [
{
"kind": "symbol",
"val": "markup",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": "&let",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "markup-tree",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "get",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "get",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "markup",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "keyword",
"val": "tree"
}
]
],
[
{
"kind": "symbol",
"val": "if",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "list?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "list?",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "markup-tree",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "node-tree",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "filter-first",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.util.list",
"def": "filter-first",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "defn",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "f%",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "map?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "map?",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "component?",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.util.detect",
"def": "component?",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
true,
[
{
"kind": "symbol",
"val": "element?",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.util.detect",
"def": "element?",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
false
]
],
{
"kind": "symbol",
"val": "markup-tree",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "effects-list",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "filter",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "filter",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "effect?",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.util.detect",
"def": "effect?",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "markup-tree",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
[
{
"kind": "symbol",
"val": "merge",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "merge",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "markup",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "&{}",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "&{}",
"nsInStr": false
}
},
{
"kind": "keyword",
"val": "tree"
},
{
"kind": "symbol",
"val": "node-tree",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "keyword",
"val": "effects"
},
{
"kind": "symbol",
"val": "effects-list",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
],
{
"kind": "symbol",
"val": "markup-tree",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
},
"defcomp": "...TODO",
"render!": {
"kind": "fn",
"ns": "respo.core",
"name": "render!",
"args": [
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "markup",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "dispatch!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": "if",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "some?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "some?",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "deref",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "deref",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*global-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "*global-element",
"nsInStr": false
}
}
]
],
[
{
"kind": "symbol",
"val": "rerender-app!",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "rerender-app!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "markup",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "dispatch!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "mount-app!",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "mount-app!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "markup",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "dispatch!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
},
"list->": {
"kind": "fn",
"ns": "respo.core",
"name": "list->",
"args": [
{
"kind": "symbol",
"val": "props",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "children",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": "create-list-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "create-list-element",
"nsInStr": false
}
},
{
"kind": "keyword",
"val": "div"
},
{
"kind": "symbol",
"val": "props",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "children",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
},
"mount-app!": {
"kind": "fn",
"ns": "respo.core",
"name": "mount-app!",
"args": [
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "dispatch!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
"code": [
[
{
"kind": "symbol",
"val": ";",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "assert",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
"1st argument should be an element",
[
{
"kind": "symbol",
"val": "or",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "nil?",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "=",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element-type",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": ".-__proto__",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
],
[
{
"kind": "symbol",
"val": ";",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "assert",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
"2nd argument should be a component",
[
{
"kind": "symbol",
"val": "component?",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "deliver-event",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "build-deliver-event",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.controller.resolve",
"def": "build-deliver-event",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*global-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "*global-element",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "dispatch!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "do",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "reset!",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "reset!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*dom-changes",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "*dom-changes",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "[]",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "[]",
"nsInStr": false
}
}
]
],
{
"kind": "symbol",
"val": "*dom-changes",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "*dom-changes",
"nsInStr": false
}
}
]
],
[
{
"kind": "symbol",
"val": "&let",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "collect!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "defn",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "f%",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "not",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "not",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "string?",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "string?",
"nsInStr": false
}
},
"change op should has length 3"
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"expects 1st argument to be string"
]
],
[
{
"kind": "symbol",
"val": "if",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "=",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "=",
"nsInStr": false
}
},
4.0,
[
{
"kind": "symbol",
"val": "count",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "count",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
],
null,
[
{
"kind": "symbol",
"val": "do",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "echo",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "echo",
"nsInStr": false
}
},
"Failed assertion:",
[
{
"kind": "symbol",
"val": "quote",
"ns": "calcit.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "=",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
4.0,
[
{
"kind": "symbol",
"val": "count",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
],
[
{
"kind": "symbol",
"val": "raise",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "raise",
"nsInStr": false
}
},
"change op should has length 3 (= 4 (count x))"
]
]
]
],
[
{
"kind": "symbol",
"val": "reset!",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "reset!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "conj",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "conj",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "deref",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "deref",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
{
"kind": "symbol",
"val": "x",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
]
]
]
],
[
{
"kind": "symbol",
"val": ";",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "println",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
"mount app"
],
[
{
"kind": "symbol",
"val": "activate-instance!",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.controller.client",
"def": "activate-instance!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "deliver-event",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "collect-mounting",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.render.effect",
"def": "collect-mounting",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "collect!",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
[
{
"kind": "symbol",
"val": "[]",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "[]",
"nsInStr": false
}
}
],
[
{
"kind": "symbol",
"val": "[]",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "[]",
"nsInStr": false
}
}
],
{
"kind": "symbol",
"val": "element",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
true
],
[
{
"kind": "symbol",
"val": "patch-instance!",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.controller.client",
"def": "patch-instance!",
"nsInStr": false
}
},
[
{
"kind": "symbol",
"val": "deref",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "deref",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*changes",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
{
"kind": "symbol",
"val": "target",
"ns": "respo.core",
"dynamic": false,
"resolved": null
},
{
"kind": "symbol",
"val": "deliver-event",
"ns": "respo.core",
"dynamic": false,
"resolved": null
}
],
[
{
"kind": "symbol",
"val": "reset!",
"ns": "calcit.core",
"dynamic": false,
"resolved": {
"ns": "calcit.core",
"def": "reset!",
"nsInStr": false
}
},
{
"kind": "symbol",
"val": "*global-element",
"ns": "respo.core",
"dynamic": false,
"resolved": {
"ns": "respo.core",
"def": "*global-element",
"nsInStr": false