Re:Overloading the lambda abstraction in Haskell (2022)
by eru on Thursday January 02, 2025 @12:47AM
(#42572017)
You can directly port the Python technique you mentioned without any extra closures.
(I mean not more than the normal amount of closures you'd get from straight-forward code that just calculates the answer as a number, instead of giving you the AST.)
(I mean not more than the normal amount of closures you'd get from straight-forward code that just calculates the answer as a number, instead of giving you the AST.)