Stop when you are Almost-Full Adventures in constructive termination

by Dimitrios Vytiniotis , Thierry Coquand