We can test our new combinator with a moving point.

#run killable (moving_point (new_state ()));;

Observe that the id [1] is printed into the terminal. Thefore, we can kill this process by sending its id on the signal to_kill.

emit to_kill 1;;