title: How do you compile and run haskell on notepad++
body: <p>How do you compile and run Haskell on notepad++
  I installed the plugin NppExec and then I pressed <strong>F6</strong>
  I saved my Haskell file to <code>C:\Users\Sam\Desktop\haskell files\new 3.hs</code></p>
  
  <p>So on the command after I press <strong>F6</strong> I tried typing in a few different things:</p>
  
  <pre><code>C:\Users\Sam\Desktop\haskell files\new 3.hs`
  ghc.exe new 3.hs
  haskell new
  </code></pre>
  
  <p>but I got these responses:</p>
  
  <pre><code>C:\Users\Sam\Desktop\haskell files\new 3.hs
  CreateProcess() failed with error code 2:
  The system cannot find the file specified.
  
  ghc.exe new 3.hs
  Process started &gt;&gt;&gt;
  target `new' is not a module name or a source file
  &lt;&lt;&lt; Process finished.
  
  haskell new 3
  CreateProcess() failed with error code 2:
  The system cannot find the file specified.
  
  ================ READY ================
  </code></pre>
  
  <p>What is the correct way of compiling and executing at haskell file on notepad++?</p>