Skip to content

Instantly share code, notes, and snippets.

@shlevy
Created March 23, 2012 15:10
Show Gist options
  • Select an option

  • Save shlevy/2171564 to your computer and use it in GitHub Desktop.

Select an option

Save shlevy/2171564 to your computer and use it in GitHub Desktop.
'with' infinite recursion
let
a = with b; { c = 2; d = c; };
b = a // { c = 3; };
in b.d
let
a = { c = 2; d = b.c; };
b = a // { c = 3; };
in b.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment