Liking cljdoc? Tell your friends :D

tiltontec.model.core


*par*clj/s


backdoor-reset!clj/s

(backdoor-reset! me slot new-value)

backdoor-reset!?clj/s

(backdoor-reset!? me slot new-value)

cFkidsclj/smacro

(cFkids & tree)

Syntax sugar for formulae that define :kids slots

Syntax sugar for formulae that define :kids slots
raw docstring

fascclj/s

(fasc what where & options)

Search matrix ascendents for 'what', starting at 'where'

See fget= for options about 'what' can be

if :me? is true, and (fget= what where) return 'where'

if (:par @where) returns a parent, recurse up the family tree

return an error when (:must? options) is true and we nothing is found

Search matrix ascendents for 'what', starting at 'where'

See fget= for options about 'what' can be

if :me? is true, and (fget= what where) return 'where'

if (:par @where) returns a parent, recurse up the family tree

return an error when (:must? options) is true and we nothing is found
raw docstring

fgetclj/s

(fget what where & options)

Search matrix ascendents and descendents for 'what', starting at 'where'

if :me? is true, and (fget= what where) return 'where' (:me? is false by default)

if :inside? is true, try kids recursively (after removing any listed in :skip option)

if :up? is true, invoke fget on ancestor (skipping 'where')

Search matrix ascendents and descendents for 'what', starting at 'where'

if :me? is true, and (fget= what where) return 'where' (:me? is false by default)

if :inside? is true, try kids recursively (after removing any listed in :skip option)

if :up? is true, invoke fget on ancestor (skipping 'where')
raw docstring

fget=clj/s

(fget= seek poss)

Return true if 'poss' is the matrix reference we 'seek'

There are 4 branches to this.

'poss' is not a ref, return false 'seek' is a fn?, we return result of invoke it with 'poss' 'seek' is a keyword?, we return true if it is = with (:name poss) :else compare 'poss' and 'seek' directly using =

Return true if 'poss' is the matrix reference we 'seek'

There are 4 branches to this.

'poss' is not a ref, return false
'seek' is a fn?, we return result of invoke it with 'poss'
'seek' is a keyword?, we return true if it is = with (:name poss)
:else compare 'poss' and 'seek' directly using =
raw docstring

fm!clj/s

(fm! what where)

Search matrix ascendents and descendents from node 'where', for 'what', throwing an error when not found

Search matrix ascendents and descendents from node 'where', for 'what', throwing an error when not found
raw docstring

fm-kids-observeclj/s

(fm-kids-observe me newk oldk c)

fmi-w-classclj/s

(fmi-w-class where class)

Search matrix descendents from 'where' for first with given :class

Search matrix descendents from 'where' for first with given :class
raw docstring

fmoclj/s

(fmo me id-name)

Search matrix ascendents from node 'me' for 'id-name', trying first as a name, then as an id

Search matrix ascendents from node 'me' for 'id-name', trying first as a name, then as an id
raw docstring

fmovclj/s

(fmov me id-name)
(fmov me id-name slot-name)

Use 'fmo' and extract :value (or slot indicated by :slot-name)

Use 'fmo' and extract :value (or slot indicated by :slot-name)
raw docstring

fmuclj/smacro

(fmu name & [me])

kid-values-kidsclj/s

(kid-values-kids me x-kids)

A pattern commonly employed in matrix applications is to define a :kid-factory on some 'parent' cell, and use it to enrich the value extracted from the parent's kid cells.

This function maps across the :kids-values, invoking the factory as it goes

A pattern commonly employed in matrix applications is to define a :kid-factory on some
'parent' cell, and use it to enrich the value extracted from the parent's kid cells.

This function maps across the :kids-values, invoking the factory as it goes
raw docstring

makeclj/s

(make & arg-list)

matrixclj/s

Each app will populate this with the root of its application matrix.

Each app will populate this with the root of its application matrix.
raw docstring

md-getclj/s

(md-get me slot)

md-getxclj/s

(md-getx tag me slot)

md-kidsclj/s

(md-kids me)

md-nameclj/s

(md-name me)

md-reset!clj/s

(md-reset! me slot new-value)

mdv!clj/smacro

(mdv! what slot & [me])

Search matrix ascendents from node 'me' looking for what, and extract slot

Search matrix ascendents from node 'me' looking for `what`, and extract `slot`
raw docstring

mgetclj/s

(mget me slot)

mm-objclj/s


mset!clj/s

(mset! me slot new-value)

mswap!clj/s

(mswap! me slot swap-fn & swap-fn-args)

mx-parclj/s

(mx-par me)

mxi-findclj/s

(mxi-find where property value)

Search matrix descendents from node 'where' for node with property and value

Search matrix descendents from node 'where' for node with property and value
raw docstring

mxu-find-idclj/s

(mxu-find-id where id)

Search matrix ascendents from node 'where' looking for element with given id

Search matrix ascendents from node 'where' looking for element with given id
raw docstring

mxu-find-nameclj/s

(mxu-find-name where name)

Search matrix ascendents from node 'where' looking for element with given name

Search matrix ascendents from node 'where' looking for element with given name
raw docstring

mxu-find-typeclj/s

(mxu-find-type me type)

Search matrix ascendants from node 'me' for first with given tag

Search matrix ascendants from node 'me' for first with given tag
raw docstring

nextsibclj/s

(nextsib mx)

prevsibclj/s

(prevsib mx)

the-kidsclj/smacro

(the-kids & tree)

Macro to flatten kids in 'tree' and relate them to 'me' via the par dynamic binding

Macro to flatten kids in 'tree' and relate them to 'me' via the *par* dynamic binding
raw docstring

with-parclj/smacro

(with-par meform & body)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close