You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another usage example:
sequence!q{n}.inits.map!sum.take(20).writeln;
Should generate the the triangle number sequence (http://oeis.org/A000217 ), with an extra leading zero:
[0, 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105, 120, 136, 153, 171]
bearophile_hugs reported this on 2013-05-07T17:38:31Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=10042
CC List
Description
The text was updated successfully, but these errors were encountered: