On Wed, Jul 7, 2010 at 7:18 PM, Michael Mossey <mpm@alumni.caltech.edu> wrote:
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


You'd need to create a file "MusDoc.hs" which imports all of the other files, there's no way to automatically import all sub-modules (AFAIK).

Michael