Add generic range
function to the prelude
#5361
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
uint::range
is one of the most common ways to iterate, but theuint::
prefix is a bit unsightly. Add a genericrange
function, parametrized over whatever traits are appropriate and add it to the prelude. Then convert all uses ofrange
.The text was updated successfully, but these errors were encountered: