top | item 36394629 (no title) lpghatguy | 2 years ago This is incredibly funny and also brilliant: toss/return is an implementation of algebraic effects! discuss order hn newest gpderetta|2 years ago call/cc as the only control flow primitive! firstlink|2 years ago Algebraic effects use delimited continuations (and this appears to match toss/return). Call/cc captures an undelimited continuation. Totally different. load replies (1) dirkt|2 years ago Also called "continuation monad", which can be proven to be universal.So, no surprise. load replies (1)
gpderetta|2 years ago call/cc as the only control flow primitive! firstlink|2 years ago Algebraic effects use delimited continuations (and this appears to match toss/return). Call/cc captures an undelimited continuation. Totally different. load replies (1) dirkt|2 years ago Also called "continuation monad", which can be proven to be universal.So, no surprise. load replies (1)
firstlink|2 years ago Algebraic effects use delimited continuations (and this appears to match toss/return). Call/cc captures an undelimited continuation. Totally different. load replies (1)
dirkt|2 years ago Also called "continuation monad", which can be proven to be universal.So, no surprise. load replies (1)
gpderetta|2 years ago
firstlink|2 years ago
dirkt|2 years ago
So, no surprise.