No, it would be trivial to make it do so, but it would be ususual and contrary to how ghc does things.
For instance, ghc doesnt warn if both Foo.lhs and Foo.hs exist or src/Foo.hs and bar/Foo.hs when both -isrc and -ibar are specified on the command line. John On Fri, May 30, 2014 at 3:10 AM, Herbert Valerio Riedel <h...@gnu.org> wrote: > On 2014-05-30 at 11:00:38 +0200, John Meacham wrote: >> JHC has the feature that >> >> Graphics.UI.GTK.Button can live in any of: >> >> Graphics/UI/GTK/Button.hs >> Graphics/UI/GTK.Button.hs >> Graphics/UI.GTK.Button.hs >> Graphics.UI.GTK.Button.hs > > Just wondering: Does JHC warn if, for instance, > `Graphics/UI/GTK/Button.hs` as well as `Graphics.UI.GTK.Button.hs` exists? -- John Meacham - http://notanumber.net/ _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users