Jump to page: 1 2
Thread overview
"D Language, chained null checks and the Maybe monad" - article
Feb 04, 2013
Michael
Feb 04, 2013
1100110
Feb 05, 2013
Michael
Feb 05, 2013
Oleg Kuporosov
Feb 05, 2013
Michael
Feb 06, 2013
Oleg Kuporosov
Feb 07, 2013
Michael
Feb 08, 2013
Oleg Kuporosov
Feb 09, 2013
Michael
Re: "D Language, chained null checks and the Maybe monad" (eng) - article
Feb 06, 2013
Michael
Feb 25, 2013
Michael
February 04, 2013
Hi, all)

It's about chained null checks and the Maybe Monad, in Russian.
Code is written as always in ;D

link - http://www.m1xa.com/ru/article/d-language-chained-null-checks-maybe-monad.html

Thanks)
February 04, 2013
On 02/04/2013 02:28 PM, Michael wrote:
> Hi, all)
>
> It's about chained null checks and the Maybe Monad, in Russian.
> Code is written as always in ;D
>
> link -
> http://www.m1xa.com/ru/article/d-language-chained-null-checks-maybe-monad.html
>
>
> Thanks)

(please let s/ru/en/ give me english, please let it give me english, please...aw...  It was worth a shot.

Here's a quick link for the lazy native speakers:

http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&eotf=1&u=http%3A%2F%2Fwww.m1xa.com%2Fru%2Farticle%2Fd-language-chained-null-checks-maybe-monad.html&act=url
February 05, 2013
> (please let s/ru/en/ give me english, please let it give me english, please...aw...  It was worth a shot.

S**t happens)))

I don't know English good enough to write something worth)

February 05, 2013
On Monday, 4 February 2013 at 22:45:09 UTC, 1100110 wrote:

>> http://www.m1xa.com/ru/article/d-language-chained-null-checks-maybe-monad.html
>>
>>
>> Thanks)
>
> (please let s/ru/en/ give me english, please let it give me english, please...aw...  It was worth a shot.

It is in fact translation to Ru/D from En/C# :

http://devtalk.net/csharp/chained-null-checks-and-the-maybe-monad/


Oleg.
February 05, 2013
Inspired by. It's noted at top)
February 06, 2013
On Tuesday, 5 February 2013 at 20:13:51 UTC, Michael wrote:
> Inspired by. It's noted at top)
 Yep, but not in English.

  Michael, it is good code, may be it make sense to add it into std.functional
after some refactoring?


February 06, 2013
On Monday, 4 February 2013 at 22:45:09 UTC, 1100110 wrote:
> (please let s/ru/en/ give me english, please let it give me english, please...aw...  It was worth a shot.

Done)
http://www.m1xa.com/en/article/d-language-chained-null-checks-maybe-monad.html

February 07, 2013
On Wednesday, 6 February 2013 at 15:35:26 UTC, Oleg Kuporosov wrote:
> On Tuesday, 5 February 2013 at 20:13:51 UTC, Michael wrote:
>> Inspired by. It's noted at top)
>  Yep, but not in English.
>
>   Michael, it is good code, may be it make sense to add it into std.functional
> after some refactoring?

What exactly you mean? Is it about D Style Guide or something else?

February 08, 2013
On Thursday, 7 February 2013 at 19:20:45 UTC, Michael wrote:

> What exactly you mean? Is it about D Style Guide or something else?

Exactly, http://dlang.org/dstyle.html + additional requirements for Phobos at bottom if this doc, and create pull.

Thanks,
Oleg.
February 09, 2013
Changes

According to D Style Guide added proper casing and naming (before -> after): Do -> call, If -> when, Return -> select, With -> select, WithValue -> selectValue.

Removed property attribute @property because these functions are not properties that belonging to object, there is no sence in UFCS to property.

Any thoughts?

P.S.: Sources not yet updated.
« First   ‹ Prev
1 2