Expression-bodied functions

Gabriel Garcia via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 31 11:52:25 PST 2015


On Thursday, 31 December 2015 at 17:46:16 UTC, Timon Gehr wrote:
> On 12/31/2015 06:15 PM, Gabriel Garcia wrote:
>> Hello all (: This is my first post here.
>>
>> I don't know if this has been proposed before. Probably, it 
>> has been.
>> Either way...
>>
>> https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6#expression-bodied-function-members
>>
>>
>> Given D's tendency toward expression-oriented (or functional, 
>> whatever)
>> programming, this seems like a logical addition to the 
>> language to me.
>>
>> Cheers.
>
> https://issues.dlang.org/show_bug.cgi?id=7176

I would really like to see this moving forward. What would it 
take? A PR on GitHub? The attached Proof of Concept seems like a 
decent start. I am not familiar at all with the codebase, though 
the patch is quite small and understandable. If nobody with 
actual credentials or experience steps up in the coming 
days/weeks, I suppose I could give it a try.

FWIW, I've given the issue 20 votes.


More information about the Digitalmars-d mailing list