cc: [EMAIL PROTECTED]
Subject: Re: [ast-users] Copy functions. Or reuse them.
--------

I don't know if this helps or not, but ksh93t supports user
defined types. 

Each type can be defined with any number of discipline methods.

Each instances of a type shares all the functions for that type
although each instance can redefine the function.

This, of type T defines the method foobar, then each instance of T,
t1 t2, created by
        T t1 t2
defines a foobar function.  Thus,
        t1.foobar
and 
        t2.foobar
are references to the same function unless you define them. 
The variable _ inside the function is set as a name reference
to the instance.

David Korn
[EMAIL PROTECTED]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to