|
|
|
|
|
by thesz
5492 days ago
|
|
>Message passing does require a sender, a receiver, and a message. You can have those in purely functional programming. No identity needed. Would you mind show me some code in pure functional language? I mean, in Haskell or Clean. Those are pure enough. |
|
My Ocaml code is not pure, but we can easy remove any occurrence of `ref`, and restricting oneself to pure methods, which produce a new fresh object instead of modifying `this` in place.