Skip to content

Instantly share code, notes, and snippets.

@int128
Created March 25, 2014 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save int128/9763967 to your computer and use it in GitHub Desktop.
Save int128/9763967 to your computer and use it in GitHub Desktop.
def x = {}
def y = {}
def a = [k: x, l: 0, m: 'a']
def b = [k: y, l: 1]
println x
println y
println a
println b
println a + b
ConsoleScript4$_run_closure1@345734ea
ConsoleScript4$_run_closure2@4953097e
[k:ConsoleScript4$_run_closure1@345734ea, l:0, m:a]
[k:ConsoleScript4$_run_closure2@4953097e, l:1]
[k:ConsoleScript4$_run_closure2@4953097e, l:1, m:a]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment