Y
Hacker News
new
|
ask
|
show
|
jobs
by
jmaker
278 days ago
If v’s type can be inferred, you don’t need to give that extra hint to the type checker, likewise for 1..5. And Java Streams’ toList produces an immutable list.