[self-interest] Re: Questions about Self

Chris Double chris.double at double.co.nz
Sun Jun 26 21:46:57 UTC 2016


On Mon, Jun 27, 2016 at 6:57 AM, David Ungar ungar at me.com
[self-interest] <self-interest at yahoogroups.com> wrote:
> Is a closure “just” an object with a single method? Old questions...

This is how the Pony programming language treats closures. They are
sugar for objects with an apply method:

http://tutorial.ponylang.org/expressions/object-literals.html

In practice it works quite well.

http://bluishcoder.co.nz



More information about the Self-interest mailing list