Live data from Hacker News

Passing DBs through continuations

remy.wang

1–10 of 19 posts

Re: Passing DBs through continuations

#2
Long before AI psychosis, there was FP psychosis, clinically defined as the intense psychological response to understanding functional programming concepts like recursion, higher order functions, monads, or in this case, continuation passing style.

Re: Passing DBs through continuations

#3
post #2

Long before AI psychosis, there was FP psychosis, clinically defined as the intense psychological response to understanding functional programming concepts like recursion, higher order functions, monads, or in this case, continuation passing style.

CPS was also the OG "AI psychosis" when it appeared in Sussman and Steele's AI Memo #349: https://en.wikisource.org/wiki/Scheme:_An_Interpreter_for_Ex...

Re: Passing DBs through continuations

#6

isn't this https://clojure.org/reference/transducers ?

Continuations predate transducers by some ~40 years and are mostly used as a means of control flow, but yes they are very similar.

Transducers are specialized to data transformation pipelines, continuations are a form of control flow from which you can derive a lot of cool things (exceptions, time travel debugging etc).

Re: Passing DBs through continuations

#7
post #2

Long before AI psychosis, there was FP psychosis, clinically defined as the intense psychological response to understanding functional programming concepts like recursion, higher order functions, monads, or in this case, continuation passing style.

At least FP psychosis leaves you more educated and with more tools in your box.

Not sure what the AI one gives you at a personal level.

Re: Passing DBs through continuations

#8
post #2

Long before AI psychosis, there was FP psychosis, clinically defined as the intense psychological response to understanding functional programming concepts like recursion, higher order functions, monads, or in this case, continuation passing style.

Worth noting that’s a quote from the article (footnote 1).

Re: Passing DBs through continuations

#9
post #2

Long before AI psychosis, there was FP psychosis, clinically defined as the intense psychological response to understanding functional programming concepts like recursion, higher order functions, monads, or in this case, continuation passing style.

At least FP psychosis leaves you more educated and with more tools in your box. Not sure what the AI one gives you at a personal level.

As a happy sufferer from FP psychosis, I can tell you that LLMs can be a fantastic tool for learning if you choose to use them that way.
Post reply on HN