On Mon, 9 Dec 2002 20:06, Leo Sutic wrote:
> > From: Peter Donald [mailto:[EMAIL PROTECTED]]
> >
> > On Sun, 8 Dec 2002 21:20, Leo Sutic wrote:
> > > that is true. But how would you express Phoenix's BlockContext?
> > >
> > > It seems to me that you are reducing the context to a read-only map.
> >
> > A read only map with a type ;)
>
> But how do you express the requirement of requestShutdown ()?
Because the type has that method. ie
interface BlockContext
{
...
void requestShutdown();
...
}
So anything that requires that type implicitly requires the method.
--
Cheers,
Peter Donald
*------------------------------------------------------*
| "Religion is what the common people see as true, the |
| wise people see as false, and the rulers see as |
| useful" --Seneca |
*------------------------------------------------------*
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>