Utilities for functional-reactive programming with Macroid