Yo dawg, we heard you like recursion