editor's note: head-recursion refers to a function with a path with a single recursive call at the beginning of that path.

boolean foo (boolean arg) {
  foo (arg);
  if (arg)
    return false;
  return true;

Hmm, I guess I can see why we didn't spend much time on this in CS 315.

Log in or register to write something here or to contact authors.