Y
Hacker News
new
|
ask
|
show
|
jobs
by
AnIdiotOnTheNet
1998 days ago
The pattern I use for that is:
get size allocate slice for(slice) |*elem| elem.* = read()