www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - "D Language, chained null checks and the Maybe monad" - article

reply "Michael" <pr m1xa.com> writes:
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)
Feb 04 2013
next sibling parent reply 1100110 <0b1100110 gmail.com> writes:
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
Feb 04 2013
next sibling parent "Michael" <pr m1xa.com> writes:
 (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)
Feb 05 2013
prev sibling next sibling parent reply "Oleg Kuporosov" <Oleg.Kuporosov gmail.com> writes:
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.
http://devtalk.net/csharp/chained-null-checks-and-the-maybe-monad/ Oleg.
Feb 05 2013
parent reply "Michael" <pr m1xa.com> writes:
Inspired by. It's noted at top)
Feb 05 2013
parent reply "Oleg Kuporosov" <Oleg.Kuporosov gmail.com> writes:
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?
Feb 06 2013
parent reply "Michael" <pr m1xa.com> writes:
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?
Feb 07 2013
parent reply "Oleg Kuporosov" <Oleg.Kuporosov gmail.com> writes:
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.
Feb 07 2013
parent "Michael" <pr m1xa.com> writes:
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.
Feb 09 2013
prev sibling parent "Michael" <pr m1xa.com> writes:
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
Feb 06 2013
prev sibling parent "Michael" <pr m1xa.com> writes:
Updated upto version 3.0.

- new api
- added unit tests
- code in d style guide
Feb 25 2013