Analysis of inline recursive combinators and loop detection