3 ms·
Aha-- so then HVM allows a more efficient reduction of some lambda terms, but is not intended to replace something like GHC core? What is the subset of lambda
by markusde 4y ago
Aha-- so then HVM allows a more efficient reduction of some lambda terms, but is not intended to replace something like GHC core?
What is the subset of lambda terms which HVM can (soundly) evaluate?
- LightMachine 4y agoWell, it should be a viable alternative to GHC once we implement full lambdas, but without them, it should be seen as a separate language, just like Rust. The complete subset of lambda terms that HVM can soundly evaluate hasn't been identified yet. It is known that HVM can, at least, soundly evaluate all terms typeable on Elementary Affine Logic (EAL), but, while that is a huge set, it isn't comprehensive, as HVM can evaluate many terms outside of EAL, including recursive terms such as the Y-Combinator.
- markusde 4y agoInteresting-- thanks!