Define a type (possibly immutable) per sensation, with the constants Create a function that operates on that type that carries out the scenario.
loop (or map (or pmap)) through an array of the aforementioned type, applying the aforementioned function. On Friday, 29 April 2016 09:15:40 UTC+8, K leo wrote: > > Each scenario has the same set of constants but with different values. I > would like to loop through all these scenarios. What are the best ways to > handle this?
