This repository demonstrates a common error in recursive functions written in Hack: stack overflow. The foo function calculates the factorial of a number recursively ...