title: How can I import a Haskell module in GHCi?
body: <p>I am trying to teach myself Haskell from the book Learn You A Haskell for Great Good. I got up to the last section of chapter 7 (Modules), where it tells how to create your own module.  I did a copy and paste of the Geometry module given in the book at the beginning of the section.  The name of the file is Geometry.hs, as the book suggested, and the file is in the bin directory for ghci, which is where I previously was able to successfully do a load using :l for another .hs file.</p>
  
  <p>When I type the following command in GHCi </p>
  
  <pre><code>import Geometry
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Could not find module 'Geometry' It is not a module in the current
    program or in any known package</p>
  </blockquote>
  
  <p>I must be doing something that is obviously wrong, but I can't figure out what it is.</p>