[ ghc-Feature Requests-1153029 ] allow hierarchical module names with --make

SourceForge.net noreply at sourceforge.net
Mon Feb 28 06:01:32 EST 2005


Feature Requests item #1153029, was opened at 2005-02-27 20:24
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=358032&aid=1153029&group_id=8032

Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: allow hierarchical module names with --make

Initial Comment:
It would be convenient (and consistent) to allow the
use of hierarchical module names with --make, so that
something like:

ghc -isource_directory --make app.Main -o app

would find the source_directory/app/Main.hs module to
begin its processing.

- Jeff Newbern
jnewbern at yahoo.com

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2005-02-28 11:01

Message:
Logged In: YES 
user_id=48280

You can use hierarchical module names with --make, but your
module names must be a lexically correct; that is, each
component must begin with an upper case letter.  App.Main
would work, app.Main is not a module name.

More information on hierarchical modules here:

  http://www.haskell.org/hierarchical-modules/

and in the GHC User Guide.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=358032&aid=1153029&group_id=8032


More information about the Glasgow-haskell-users mailing list