You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing evaluation of terms for $\lambda$-calculus or similar systems, NbE algorithms outperform other implementations by a large margin. It appears that the main ingredient here is the delayed substitutions. As mentioned in the «Free Foil: Generating Efficient and Scope-Safe Abstract Syntax»1, it seems reasonable to generalize terms with delayed substitution with a variation on free foil:
When implementing evaluation of terms for$\lambda$ -calculus or similar systems, NbE algorithms outperform other implementations by a large margin. It appears that the main ingredient here is the delayed substitutions. As mentioned in the «Free Foil: Generating Efficient and Scope-Safe Abstract Syntax»1, it seems reasonable to generalize terms with delayed substitution with a variation on free foil:
It could be useful to add this variation under
Control.Monad.Free.Foil.Delayed
, possibly with generic conversion to/from regular free foil.Footnotes
Nikolai Kudasov, Renata Shakirova, Egor Shalagin, Karina Tyulebaeva. 2024. Free Foil: Generating Efficient and Scope-Safe Abstract Syntax. 4th International Conference on Code Quality (ICCQ), Innopolis, Russian Federation, 2024, pp. 1-16 http://doi.org/10.1109/ICCQ60895.2024.10576867 (arXiv version at https://arxiv.org/abs/2405.16384) ↩
The text was updated successfully, but these errors were encountered: