Liking cljdoc? Tell your friends :D

tiltontec.model.core


*parent*clj/s

source

backdoor-reset!clj/s

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

backdoor-reset!?clj/s

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

cFkidsclj/smacro

(cFkids & tree)

Syntax sugar for formulae that define :kids slots

Syntax sugar for formulae that define :kids slots
sourceraw docstring

def-mgetclj/smacro

(def-mget reader-prefix & slots)
source

fascclj/s

(fasc what where & options)

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

See fm-navig= for options about 'what' can be

if :me? is true, and (fm-navig= what where) return 'where'

if (:parent @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 fm-navig= for options about 'what' can be

if :me? is true, and (fm-navig= what where) return 'where'

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

return an error when (:must? options) is true and we nothing is found
sourceraw 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
sourceraw docstring

fm-kids-observeclj/s

(fm-kids-observe me newk oldk c)
source

fm-navigclj/s

(fm-navig what where & options)

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

if :me? is true, and (fm-navig= 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 fm-navig on ancestor (skipping 'where')

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

if :me? is true, and (fm-navig= 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 fm-navig on ancestor (skipping 'where')
sourceraw docstring

fm-navig=clj/s

(fm-navig= 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 =
sourceraw docstring

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
sourceraw 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
sourceraw 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)
sourceraw docstring

fmuclj/smacro

(fmu name & [me])
source

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
sourceraw docstring

makeclj/s

(make & arg-list)
source

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.
sourceraw docstring

md-getclj/s

(md-get me slot)

deperecated. Use mget.

deperecated. Use mget.
sourceraw docstring

md-kidsclj/s

(md-kids me)
source

md-nameclj/s

(md-name me)
source

md-parclj/s

(md-par me)
source

md-reset!clj/s

(md-reset! me slot new-value)

deprecated. use mset!

deprecated. use mset!
sourceraw docstring

md-set!clj/s

(md-set! me slot new-value)

deprecated. use mset!

deprecated. use mset!
sourceraw docstring

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`
sourceraw docstring

mgetclj/s

(mget me slot)
source

mm-objclj/s

source

mparclj/smacro

(mpar & [me])
source

mreset!clj/s

(mreset! me slot new-value)

alternate syntax conforming with clojure terminology

alternate syntax conforming with clojure terminology
sourceraw docstring

mset!clj/s

(mset! me slot new-value)
source

mswap!clj/s

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

mx-parclj/s

(mx-par me)
source

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
sourceraw 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
sourceraw 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
sourceraw 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
sourceraw docstring

nextsibclj/s

(nextsib mx)
source

prevsibclj/s

(prevsib mx)
source

the-kidsclj/smacro

(the-kids & tree)

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

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

with-parclj/smacro

(with-par meform & body)
source

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

× close