title: File name does not match module name
body: <p>Newbie playing with <a href="https://haskell-lang.org/tutorial/stack-script" rel="nofollow noreferrer">haskell stack scripting</a> and <a href="https://hackage.haskell.org/package/turtle-1.5.7/docs/Turtle-Tutorial.html" rel="nofollow noreferrer">turtle</a>. </p>
  
  <ul>
  <li>Created a folder <code>stack-scripts</code>. Thought if it looks good, then I'll create some haskell utils for me to replace bash scripts.</li>
  <li><p>Created a file named <code>turtle.hs</code> with following text:</p>
  
  <pre class="lang-hs prettyprint-override"><code>#!/usr/bin/env stack
  -- stack --resolver lts-11.2 script
  
  {-# LANGUAGE OverloadedStrings #-}
  
  import Turtle
  
  main = echo "Hello!"
  </code></pre></li>
  <li><p>made the <code>chmod +x turtle.hs</code> and tried to execute it. </p></li>
  <li><p>Got the following error message:</p>
  
  <pre><code>turtle.hs:1:1: error:
      File name does not match module name:
      Saw: `Main'
      Expected: `Turtle'
    |
  1 | #!/usr/bin/env stack
    | ^
  </code></pre></li>
  </ul>
  
  <p>It does what it should if I rename <code>turtle.hs</code> to <code>turtle.sh</code>. But then I have no syntax highlighting for haskell.</p>
  
  <p>Also it works if I rename it to <code>something-other.hs</code>. But then Haskero (VSCode) complains about <code>import Turtle</code> line: <code>Couldn't guess that module name. Does it exist?</code></p>
  
  <p>What I'm missing here? Running in git bash on Windows.</p>