Re: Segfault using std.algorithm.map

2010-10-16 Thread klickverbot
Forget it, I took this directly to bugzilla: http://d.puremagic.com/issues/show_bug.cgi?id=5064

Re: Segfault using std.algorithm.map

2010-10-16 Thread klickverbot
On 10/16/10 10:13 PM, klickverbot wrote: --- import std.algorithm; import std.stdio; enum INPUT = "cqrb lryqna rb fjh, fjh qjamna cqjw axc cqracnnw. qnan, hxd wnena twxf qxf oja cx bqroc! xq kh cqn fjh, cqn jwbfna rb mnjmvjwblqnbc."; void main() { foreach ( offset; 0..25 ) { writeln( map!( ( dc

Segfault using std.algorithm.map

2010-10-16 Thread klickverbot
As you might know from the main D NG, I have just started to solve a few little programming puzzles with D2/Phobos to test how well especially the algorithm/range stuff in Phobos works out in more-or-less real world use cases. To solve a Caesar-cipher related challenge (from hacker.org, by the