Flexible wire arrows for functional reactive programming