inductive types, recursion - corrections, docs