https://okmij.org/ftp/Scheme/callcc-calc-page.html #normalordersyntax #syntaxrules #callcc #proofassistant #DanielPFriedman #programmingjargon #HackerNews #ngated
This inspired me to review continuations in Scheme, which is the first place I encountered call-with-current-continuation or call/cc. A few Wikipedia links that explain things better than I can:
Continuation-passing style was always the part that broke my brain. Imagine function calls that don't return. Instead, you pass one final argumentβthe continuationβand the function invokes that with the result of its computation!
