title: Is it possible to reference values of the hashmap a function is stored in using Clojure?
body: <p>Let us say we had something like this:</p>
  
  <pre><code>(defstruct test :val :func)
  
  (defn create-test 
    [] 
    (struct test 2 #(A)))
  </code></pre>
  
  <p>Is it somehow possible to reference :val from inside the provided function (that is, where A is located)?</p>