Re: [GHC] #3140: (Windows?) GHCi doesn't load hierachical modules

2009-05-23 Thread GHC
#3140: (Windows?) GHCi doesn't load hierachical modules
+---
Reporter:  Orphi|Owner: 
Type:  feature request  |   Status:  new
Priority:  normal   |Milestone:  6.12 branch
   Component:  GHCi |  Version:  6.10.1 
Severity:  normal   |   Resolution: 
Keywords:   |   Difficulty:  Unknown
Testcase:   |   Os:  Windows
Architecture:  x86  |  
+---
Changes (by igloo):

  * type:  bug => feature request
  * milestone:  => 6.12 branch

Comment:

 Thanks for the suggestion.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3140: (Windows?) GHCi doesn't load hierachical modules

2009-05-23 Thread GHC
#3140: (Windows?) GHCi doesn't load hierachical modules
---+
Reporter:  Orphi   |Owner: 
Type:  bug |   Status:  new
Priority:  normal  |Milestone: 
   Component:  GHCi|  Version:  6.10.1 
Severity:  normal  |   Resolution: 
Keywords:  |   Difficulty:  Unknown
Testcase:  |   Os:  Windows
Architecture:  x86 |  
---+
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> On Windows, if you double-click a `*.hs` file, GHCi starts up and loads
> the corresponding module. Usually this works fine, however... it seems to
> trip over on hierachical module names. Specifically:
>
> * Create file `Foo\Bar.hs` containing a module `Foo.Bar` that imports
> `Foo.Baz`.
> * Create file `Foo\Baz.hs` containing a module `Foo.Baz`.
> * Double-click on `Foo\Bar.hs`; GHCi whines that it can't find `Foo.Baz`
> in the search path.
>
> This happens regardless of whether either of the modules is compiled or
> not. An easy work-around is to invoke GHCi from the command prompt with
> the CWD below the `Foo` folder. But it's kind of tedious to have to do
> that.
>
> Note that if `Foo.Bar` doesn't import anything (or only modules from
> packages) then it works just fine. GHCi just doesn't seem to be able to
> find source files in the current folder if they have hierachical names.

New description:

 On Windows, if you double-click a `*.hs` file, GHCi starts up and loads
 the corresponding module. Usually this works fine, however... it seems to
 trip over on hierachical module names. Specifically:

  * Create file `Foo\Bar.hs` containing a module `Foo.Bar` that imports
 `Foo.Baz`.
  * Create file `Foo\Baz.hs` containing a module `Foo.Baz`.
  * Double-click on `Foo\Bar.hs`; GHCi whines that it can't find `Foo.Baz`
 in the search path.

 This happens regardless of whether either of the modules is compiled or
 not. An easy work-around is to invoke GHCi from the command prompt with
 the CWD below the `Foo` folder. But it's kind of tedious to have to do
 that.

 Note that if `Foo.Bar` doesn't import anything (or only modules from
 packages) then it works just fine. GHCi just doesn't seem to be able to
 find source files in the current folder if they have hierachical names.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #3140: (Windows?) GHCi doesn't load hierachical modules

2009-04-02 Thread GHC
#3140: (Windows?) GHCi doesn't load hierachical modules
+---
Reporter:  Orphi|  Owner:
Type:  bug  | Status:  new   
Priority:  normal   |  Component:  GHCi  
 Version:  6.10.1   |   Severity:  normal
Keywords:   |   Testcase:
  Os:  Windows  |   Architecture:  x86   
+---
 On Windows, if you double-click a `*.hs` file, GHCi starts up and loads
 the corresponding module. Usually this works fine, however... it seems to
 trip over on hierachical module names. Specifically:

 * Create file `Foo\Bar.hs` containing a module `Foo.Bar` that imports
 `Foo.Baz`.
 * Create file `Foo\Baz.hs` containing a module `Foo.Baz`.
 * Double-click on `Foo\Bar.hs`; GHCi whines that it can't find `Foo.Baz`
 in the search path.

 This happens regardless of whether either of the modules is compiled or
 not. An easy work-around is to invoke GHCi from the command prompt with
 the CWD below the `Foo` folder. But it's kind of tedious to have to do
 that.

 Note that if `Foo.Bar` doesn't import anything (or only modules from
 packages) then it works just fine. GHCi just doesn't seem to be able to
 find source files in the current folder if they have hierachical names.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs