Binding the "this" context
<p>Is it possible to bind the <code>this</code> context in ClojureScript?
Right now, I am stuck passing in <code>this</code> to a higher-order function, as in:</p>

<pre><code>(defn generateTransactFunction [this]
  (fn [item] (do stuff with this and item)))
</code></pre>

<p>This does not feel optimal! I am just learning ClojureScript, so I assume there's something I am missing.</p>

<p><strong>EDIT:</strong></p>

<p>Looks like <code>partial</code> can do the job, as in:</p>

<p><code>(defn abc [this arg1 arg2] ())</code></p>

<p>and passing</p>

<p><code>(partial abc this)</code></p>