News for hackers. Stuff that matters.
Re:Prolog's Eternal September (2017) by syrak on Saturday May 10, 2025 @04:44PM (#43948845)
You need very little to make a Prolog-like language Turing-complete (lists and recursive predicates). And so Haskell's type system only needs one (or two) extensions to be Turing-complete, `UndecidableInstances` (and maybe `FlexibleInstances` or `MultiParamTypeClasses`). It is no accident. The name "undecidable" shows that the authors of that extension were well aware that it enables Turing-completeness.
Re:Prolog's Eternal September (2017) by klodolph on Saturday May 10, 2025 @08:49PM (#43950290)
Exactly—Haskell’s type checker can be made Turing-complete, but that won’t make it much like Prolog.