News for hackers. Stuff that matters.
Re:How Tail Call Optimization Works by kevin_thibedeau on Friday January 08, 2021 @12:35AM (#25681839)
A better mind bender is an async promise calling itself.
Re:How Tail Call Optimization Works by eyelidlessness on Friday January 08, 2021 @02:12AM (#25682371)
Wait, I’m confused. Like one promise/future/whatever monadish-eventually-fulfilled value referencing its own value? Or a polymorphic promise/etc referencing the same construct that created it to map its resolution into a new value?