[Types-sig] Re: Pascal style declarations

Peter Sommerfeld peter.sommerfeld@gmx.de
Wed, 15 Dec 1999 06:36:10 +0000


Paul Prescod wrote:

> Well, first, I don't think that we are going to allow functions as
> return type specifications. Use assert for runtime assertions.

I don't see a reason for this limitation. It would seriously
restrict future introduction of closures into python.

def format(string s) -> def(string);

-- Peter