News for hackers. Stuff that matters.
Re:Ask HN: What are the best programming tricks you know? by pca006132 on Monday July 25, 2022 @09:52AM (#32224276)
Somehow reminds me of monad...

btw defunctionalization usually means converting higher order functions into statically known function calls

Re:Ask HN: What are the best programming tricks you know? by substation13 on Monday July 25, 2022 @09:54AM (#32224302)
Haskell monadic IO is basically this pattern, yes.

Term from this blog post: https://www.gresearch.co.uk/blog/article/defunctionalisation...