[e-lang] "implements Selfless" is useful!

Kevin Reid kpreid at mac.com
Sun Sep 16 07:50:42 EDT 2007


On Sep 15, 2007, at 22:35, Mark Miller wrote:

> If a non-leaf had such broken traversal behavior, serialization of
> loops of these wouldn't terminate. But since it would only happen for
> leaves, this isn't a problem.

There's nothing stopping a leaf-as-the-Equalizer-sees-it from being a  
nonleaf for serialization:

def foo implements Selfless {
   to __optUncall() { return [makeFoo, "run", [foo]] }
}

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the e-lang mailing list