On Friday, 4 September 2015 at 01:31:28 UTC, Namal wrote: > How can I get just the maximum element? Do I need to give a > range for it? Use max? http://dlang.org/phobos/std_algorithm_comparison.html#max