Instantly share code, notes, and snippets.
I see TypeApplications is enabled, but it looks like you don’t use the extension at all, and instead use Proxy. Did you start by using @ and then determine it didn’t work, or is Proxy less obscure, or am I just confused, or what?
I did. I was going to write it TypeApplications style, then forgot. =)
I mentioned it in the tweet that originally linked here, but the technique that I used here is originally due to aarvar.
Here's a reexposition of Edwad's example using type applications.