Comment
Comment by evincarofautumn
Of course, the definition we actually use is this:
Because it has better memory usage; the definition you provided is translated to the following STG:
So whereas #1 is a thunk that refers to itself, #2 is a recursive function, and importantly not tail-recursive.