Mandeep Singh Brar Wrote: > How about simply saying: > > void foo(double[] data) > { > foreach (d; data) > { > do_some_stuff(d); > } > } > > all ranges are already foreachable. > > Regards > Mandeep He is iterating over a range/iterable of double[], Simen got the type check wrong, which I pointed out.