title: Haskell, stack: locate the executable
body: <p>I'm looking for something like</p>
  
  <pre><code>$ stack whereis hasktags
  </code></pre>
  
  <p>where <code>whereis</code> acts more or less like UNIX <code>whereis</code> command. <code>hasktags</code> is to be run like this:</p>
  
  <pre><code>$ stack exec -- hasktags
  </code></pre>