title: Not in scope data constructor
body: <p>I have two .hs files: one contains a new type declaration, and the other uses it.</p>
  
  <p>first.hs:</p>
  
  <pre><code>module first () where
      type S = SetType
      data SetType = S[Integer]  
  </code></pre>
  
  <p>second.hs:</p>
  
  <pre><code>module second () where
      import first 
  </code></pre>
  
  <p>When I run second.hs, both modules first, second are loaded just fine.</p>
  
  <p>But, when I write <code>:type</code> S on Haskell platform, the following error appears</p>
  
  <blockquote>
    <p>Not in scope : data constructor 'S'</p>
  </blockquote>
  
  <p><em>Note: There are some functions in each module for sure, I'm just skipping it for brevity</em></p>