title: Importing a known function from an already-compiled binary, using GHC's API or Hint
body: <p>I have a module <code>Target</code>, with a function <code>Target.accessMe</code> inside it. I compile this module in some way, then get rid of the source code.</p>
  
  <p>Now, what series of arcane incantations must I do to make a different program dynamically import <code>Target.accessMe</code>? This program knows <code>accessMe</code>'s type in advance. Also, consider the fact that the source code of <code>Target</code> is not available.</p>
  
  <p>The <code>plugins</code> package manages to accomplish this, but seems to have serious issues with working on Windows. I've checked out <code>plugins</code>'s source, but am having trouble understanding it.</p>
  
  <p>I've tried using <code>Hint</code>, but can only find out how to evaluate code that I have the source for.</p>
  
  <p>Thanks for any help!</p>