AlexPeake (69) [Avatar] Offline
I, for one, do not understand:

:constructors {[String] [String]
[String String] [String String]}

Table 5.1 has an explanation, but I do not understand.


(defn -initialize
(println "Init value:" s1)
[[s1 "default"] (ref s1)])
([s1 s2]

Similarly Table 5.1 has an explanation that I do not understand.

You talk about vectors and maps in bot of the above, but not what they mean.

Also, where do the state elements get stored? There is the element:

:state localState

Does this declare some element called "localState"? What is its type?
(println "Init values:" s1 "," s2)
[[s1 s2] (ref s2)]))