I am trying to have a specification with a definition for Calculate()
module A:
VARIABLE val
Calculate() == 
   val' = val + 1
   (*return [v: val] here*)
How do I return that val to whoever is calling it (even another module that instantiates module A)? Assuming multiple processes call Calculate concurrently.