[Haskell-beginners] modules

Michael Mossey mpm at alumni.caltech.edu
Wed Jul 7 12:18:47 EDT 2010


So I created the following directory structure:

  home /MusDoc/MusDoc.hs
  home /MusDoc/FromXML.hs
  home /MusDoc/Timing.hs
  home /Midi/FromMusDoc.hs

I set -i to "home" referred to above, so I import these modules with 
commands like

import MusDoc.MusDoc
import Midi.FromMusDoc
etc..

What do I do to import everything in MusDoc via

import MusDoc

?

I suspect this has something to do with packages... don't feel a need to 
explain it all---point me to a good explanation and I'll probably figure it 
out.

Mike




More information about the Beginners mailing list