Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Ruby by apurva ( 13 years ago )
lazy = lambda { |h,k| h[k] = Hash.new(&lazy;) }

h = Hash.new(&lazy;)

h[1][2][3][4] = 5

 

Revise this Paste

Your Name: Code Language: