News for hackers. Stuff that matters.
Re:Why Haskell? by jgwil2 on Friday September 13, 2024 @03:15PM (#41534203)
Maybe I've misunderstood what OP was getting at--can you elaborate on the distinction between these two meanings of statelessness?
Re:Why Haskell? by mrkeen on Friday September 13, 2024 @05:17PM (#41535219)
In a stateless service in the OO sense, it is perfectly fine to GET something, and then GET something different the next time you run the same request. (Probably because someone POSTed between your two GETs.) Because of mutable state.

FP statelessness means no mutable state, so two identical GETs will of course return the same result.