Text this: Reasoning about concurrent systems: a functional approach