[GHC] #10643: GHC cannot import submodules when run from subfolder

GHC ghc-devs at haskell.org
Sun Jul 19 11:02:48 UTC 2015


#10643: GHC cannot import submodules when run from subfolder
-------------------------------------+-------------------------------------
        Reporter:  FPtje             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:  subfolder
                                     |  import submodule cd
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Miloan):

 Just like @FPtje, I have experienced this problem. For me it is counter-
 intuitive to have to compile the code from the root folder. Maybe this
 origins from my experience with other compilers. While I do agree that GHC
 is not your average compiler, it would not hurt to conform to some
 standards.

 The proposed solution is exactly how I imagined the compiler worked when I
 started programming Haskell. That's why I believe it would be a great
 addition to GHC.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10643#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list