Functional language in D

Bill Baxter dnewsgroup at billbaxter.com
Wed Feb 28 17:13:23 PST 2007


vanh wrote:
> Bill Baxter wrote:
>> vanh wrote:
>>>
>>> I'm just wondering how much of functional language is in D?
>>> And how useful it would bring if it is added into D?
>>>
>>> vtp
>>
>> It has proper tail recursion.  That makes a lot of functional 
>> techniques feasible, at least in principle.
>>
>> But there's not much in the way of generic functional algorithms in 
>> the core.  Map, reduce, apply, etc, aren't in the std library.
>>
>> foreach is in the core, though.  That's kind of a functional thing. 
>> What are you looking for exactly?  Something like Boost::lambda or 
>> more like ML?  The former is becoming more and more doable, the latter 
>> probably won't happen.
>>
>>
>> --bb
> 
> Boost::lambda  like is what I'm looking for.

I guess you saw this from a few minutes ago?
    http://www.prowiki.org/wiki4d/wiki.cgi?DanielKeep/functools

(reposting Daniel's link because he posted it to a different thread, 
though with the same subject line.)

--bb



More information about the Digitalmars-d mailing list