Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am erights on github.
  • I am erights (https://keybase.io/erights) on keybase.
  • I have a public key ASCODEpcW0xkfFhbDrzWvcFouU6icOqlfAPKb0rhgo_4lgo

To claim this, I am signing this object:

@erights
erights / microses-to-microses-for-persistence
Last active Jan 13, 2017
microses-to-microses-for-persistence
View microses-to-microses-for-persistence
const makeAddr = (x => (y => x + y));
const wm = makeWeakMap();
const makeAddr = (x => {
const fn = (y => x + y);
wm.set(fn, {get x() { return x; });
return fn;
});