Define a data structure that can refer to its own values to compute new ones
Contributed by:
Sjoerd Smit
Examples
Basic Examples (5) 
Define an AssociationTemplate in which the first key acts as a parameter for a computation:
Query a value:
Use a two-argument query to temporarily override keys with new (non-templated) values. The second argument has to be an Association:
Query all keys and return the result as an Association:
Use Append or Prepend to create a new AssociationTemplate with a different key value:
Properties and Relations (2) 
It is possible that some keys can return different values with each query:
Within a single query, the values will be consistent and each key will be evaluated no more than once:
Possible Issues (1) 
AssociationTemplate will return a Failure object if cyclical dependencies are detected:
Publisher
Sjoerd Smit
Version History
-
1.0.2
– 15 September 2023
-
1.0.1
– 07 June 2021
Related Resources