Range - sum



examples/range/range_sum.cr
res = (0..3).sum { |ix| ix * ix }
puts res