Hi,

I need some help shortening this fragment of Julia code

https://gist.github.com/berceanu/e4fdfa6285d30c024a71

The main idea is that *ft* and *ftex* are both tuples containing 4 
anonymous functions. The are initialized as the identical function, but 
then depending on the toggle buttons, can take 2 separate sets of values. 
The important thing to notice however is that between the 2 *togglebuttons* 
instances, the anonymous functions (for each branch) are the same except 
for an overall minus sign.

What I would like to do is have a single *togglebuttons* instance, which 
sets the value of *ft* and then *ftex* should get the same value, but with 
minus signs in front of al the anonymous functions. 

How can this be achieved?

//A 

Reply via email to