Y
Hacker News
new
|
ask
|
show
|
jobs
by
yuye
654 days ago
You don't even need to create a range! You can just use:
List(1000) { i -> i+1 }
Which creates a list of 1 to 1000