On Tuesday, August 5, 2014 7:33:15 PM UTC+5:30, Jonathon McKitrick wrote:
> Exactly!
> 
> 
> 

Damn ! The word picklist completely threw me off.

https://github.com/tailrecursion/javelin was built for this sort of problem.

In Mike's example you would have one cell holding all the ui data and 6 
formulas.

cell -> continent
This triggers updates to country -> state -> county -> city formulas

cell -> county
This triggers updates to the city formula.

In the formulas you could call set-state! to trigger ui updates.

The sixth formula can just hold the final calculation.

Take a look at the docs, for a description of the words cell and formula.
Javelin is a very simple library modelled after spreadsheets.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to