A Tango Fibers question and a functional programming anecdote.

Daniel Keep daniel.keep.lists at gmail.com
Sun Oct 28 19:43:28 PDT 2007



BCS wrote:
> Reply to Benjamin,
> ...
>> how the heck is that parsing?? Is the /map/ actualy this:
>>
>> (A / B) / C; ??
>>
> 
> BTW if that is what you are doing, I may be force to do something
> totally EVIL to reclaim some ground in the "does nasty things with D"
> ranking. I have a few ideas though....  }:-)  (BBBBWWWWAAAA HAA Haa
> haaa.....)

IIRC, map is basically defined like this:

struct map
{
  static map_ opDiv_r(T)(some_array_type!(T));
}

struct map_
{
  some_array_type!(T) opDiv(T)(some_delegate_type!(T));
}

Or something similar.

	-- Daniel



More information about the Digitalmars-d mailing list