title: How to load multiple .hs files with only functions (no modules) into haskell ghci?
body: <p>I can load a single haskell file with a single function into ghci using <code>:l addOne.hs</code></p>
  
  <p>If I load another haskell file <code>:l addTwo.hs</code> it wipes the reference to the other and I get a <code>Variable not in scope: addOne</code> error when I try to call <code>addOne</code></p>
  
  <p>addOne.hs</p>
  
  <pre><code>addOne x = x + 1
  </code></pre>
  
  <p>addTwo.hs</p>
  
  <pre><code>addTwo x = x + 2
  </code></pre>
  
  <p>There are a few other posts that talk about loading multiple modules.  Is the only way to achieve the above to convert them to modules and call</p>
  
  <pre><code>&gt; :load Module1 Module2
  &gt; :module Module1 Module2
  </code></pre>