Liking cljdoc? Tell your friends :D
Clojure only.

vaelii.host.lines

The browser editor's line format: a stored sentex as the sentence its author would type back in.

The editor seeds its textarea with these sentences and diffs the text it gets back against them by content, so a sentence spelled two ways would turn an untouched line into a retract plus an assert of the same fact. It lives here rather than in the browser because spelling a rule's wrappers reads the rule record's slots (rules/rewrap-sentex), and the browser requires no vaelii.impl namespace.

The browser editor's line format: a stored sentex as the sentence its author would
type back in.

The editor seeds its textarea with these sentences and diffs the text it gets back
against them **by content**, so a sentence spelled two ways would turn an untouched line
into a retract plus an assert of the same fact.  It lives here rather than in the
browser because spelling a rule's wrappers reads the rule record's slots
(`rules/rewrap-sentex`), and the browser requires no `vaelii.impl` namespace.
raw docstring

wrapped-sentenceclj

(wrapped-sentence s)

A sentex's editable sentence: the readable sentence (the author's variable names), and for a rule the set/* wrappers its record holds spelled back around it (rules/rewrap-sentex) so a re-assert preserves them. A rule's exceptWhen / unknown guard lives in a separate meta-sentex and is not carried, so editing a guarded rule drops its guard — the browser's editor hint says so.

A sentex's editable sentence: the readable sentence (the author's variable names),
and for a rule the `set/*` wrappers its record holds spelled back around it
(`rules/rewrap-sentex`) so a re-assert preserves them.  A rule's `exceptWhen`
/ `unknown` guard lives in a separate meta-sentex and is **not** carried, so editing a
guarded rule drops its guard — the browser's editor hint says so.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close