r/ProgrammingLanguages • u/marvinborner bruijn, effekt • Apr 20 '26
Blog post Effectful Recursion Schemes
https://effekt-lang.org/blog/recursion-schemes/
22
Upvotes
r/ProgrammingLanguages • u/marvinborner bruijn, effekt • Apr 20 '26
View all comments
Show parent comment
5
u/marvinborner bruijn, effekt Apr 21 '26 edited Apr 21 '26
Do you mean specifically the effectful variant? There's no actual reason to prefer this if your language allows for traditional definitions of recursion schemes. Though I find the effectful variant to show the duality and the underlying mechanisms more clearly than, say, in Haskell.
Also, as explained in the beginning, the post is much more about effects and handlers in general than it is about recursion schemes themselves :)