|
|
|
|
|
by babel17
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. But if you really want one, you can have it: Two objects are identical, if they react to all messages in the same way. You can also explicitly define equality ==, and then say that a and b are identical if a == b. |
|
Would you mind show me some code in pure functional language?
I mean, in Haskell or Clean. Those are pure enough.