Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lsb
on April 6, 2009
|
parent
|
context
|
favorite
| on:
Sharp Variables
Incidentally, it's the same in Ruby, and supports :
a = [1,2,3] => [1, 2, 3] a << a => [1, 2, 3, [...]] a.inspect
It's not true laziness, though; it's as long as the list when you tie it to itself.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: