3 ms·
"It turns out that due to people's general desire for compilation to always terminate that the type language behaves quite different from the value language. It
by AnimalMuppet 12y ago
"It turns out that due to people's general desire for compilation to always terminate that the type language behaves quite different from the value language. It also turns out that the type language operates differently because we're more interested in logical constraints than actual evaluation."
If I understand you correctly, if the type system behaves the same as the value system, then it is possible for the compilation to never terminate. Do I have that right?
- tel 12y agoIt's possible, but typically what instead happens is that people sacrifice Turing Completeness in the value language. It turns out that this isn't so painful (strong types help a lot) and then you have guaranteed termination all around!
- codygman 12y agoUnrelated but you don't have contact information and this is the most related thread I could find. Here is context: " I've been trying to get my mind around this kind of stuff for maybe a year. And I have to say that monads don't look like the solution to any of the problems that I actually face or have ever faced, in a thirty-year career." - https://news.ycombinator.com/item?id=8815973 https://news.ycombinator.com/item?id=8815973 You might be interested in this link: http://haskellrescue.blogspot.com/2011/03/cooking-delicious-fish.html http://haskellrescue.blogspot.com/2011/03/cooking-delicious-... If you respond quickly enough and I can delete this, I will ;)