www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dlang.org frontpage example shows incorrect results

reply "Henning Pohl" <henning still-hidden.de> writes:
According to the example on the frontpage the default input:

The D programming language. Modern convenience. Modeling power. 
Native efficiency.

Has an average line length of 1.
May 09 2013
next sibling parent "Dicebot" <m.strashun gmail.com> writes:
On Thursday, 9 May 2013 at 13:35:43 UTC, Henning Pohl wrote:
 According to the example on the frontpage the default input:

 The D programming language. Modern convenience. Modeling power. 
 Native efficiency.

 Has an average line length of 1.

Hah, nice catch! :) Looks like there is a problem with how input is fed to snippet stdin in online evaluator. Same snippet works locally, but on dlang.org it receives all stdin as a bunch of 1 symbol long lines.
May 09 2013
prev sibling parent "nazriel" <spam dzfl.pl> writes:
On Thursday, 9 May 2013 at 13:35:43 UTC, Henning Pohl wrote:
 According to the example on the frontpage the default input:

 The D programming language. Modern convenience. Modeling power. 
 Native efficiency.

 Has an average line length of 1.

Hello. Thank you for reporting this. Dicebot is right, it was evaluator fault. Fixed now. Best regards Damian Ziemba
May 09 2013