Continuing the discussion from Club meeting!:
We were thinking of ways to tackle mutable state within tidal (reading/writing to variables). From what I understand, setF
/setI
etc. can be used to store patterns in the global dictionary (Double
and Integer
in this case), which can later be referenced by name, as @yaxu mentioned.
Is there a way to store different types of values, like [Pattern Double]
or Map String -> [Pattern Double]
in a similar way? How could an implementation look like?