This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I can’t believe I don’t know this, but if I have a protocol and I want to hold a reference to an Anonymous instance what do I use? I don’t want to create a defrecord
and I don’t want to extend-type
that protocol to anything. I want the equivalent of
interface MyInterface { void boo(); } x = new MyInterface() { void boo() {…}};
is that what reify
does?in the great traditions of ‘talk to the duck’ I think reify
is exactly what I want
@nooga: just saw your Q pop-up a few days back, if you want to switch between projects easy in emacs checkout https://github.com/Bad-ptr/persp-mode.el and https://github.com/bbatsov/projectile/blob/master/persp-projectile.el, a killer combo
sorry #C0617A8PQ if that is a bit off-topic
@codeitagile: Thanks, I knew about projectile but was too lazy to get into it
@codeitagile: I’ll check them out
persp is the special sauce, try that, but projectile is great too of course, plus a sprinkle of helm naturally
at least for me, everything started to sing when I added those three together and started switching projects using C-c p p
with helm completion