Function Literals

janderson askme at me.com
Wed Mar 14 00:47:54 PDT 2007


Daniel Keep wrote:
> 
> janderson wrote:
>> Daniel Keep wrote:
>>> All the type inference that D does thus far seems to be "inside-out",
>>> that is it uses the known type of inner expressions to determine the
>>> type of the ones they're contained in.  Deriving the type of 'c' up
>>> there would mean the system would have to work backwards; and things
>>> could get messy :P
>> I'm not familiar with the compiler, so I'll just have to believe thats
>> true.
> 
>   'Well, I suppose it makes sen--' Vimes began.
>   'That isn't how it works at all, Lu-Tze!' wailed Qu.
>   'No,' said Sweeper, 'but it's another good lie.'
> 
> 	-- Terry Pratchett, "Night Watch".
> 
> :3
> 

Aha, good old, Terry Pratchett.  My favorite non-technical author :)

-Joel



More information about the Digitalmars-d mailing list