So yeah, Hamilton is pretty oriented around functional capabilities. You could carry state through a variety of, but you generally want to either recompute for all time (if it’s smaller data) or store state extenally and pass back in. Some additional options:
1. You could call out to a Hamilton DAG within one of your classes — E.G. if you have some specific component of compute that you want to tease out functionally
2. You could pass stateful objects through your code and modify them — this is an OK way of bridging the gap
3. (bigger refactor) You could pass in the state objects, run through the functions, return it out, and merge it back into the final state outside
Do you have a quick bit of sample code that illustrates it?