News for hackers. Stuff that matters.
Re:Total Functional Programming [pdf] by wyager on Thursday October 06, 2016 @03:01PM (#12655113)
You can't write every possible term of that type. However, you can write a program that performs the same computation as any expression of that type by explicitly breaking recursion out, e.g. via

     Free (() ->) Integer
And then using corecursion to evaluate this step by step.

The actual definition of Turing completeness is the ability to implement any program that a Turing machine can compute, which you can with corecursion.

There are no comments on this comment yet.