RFC: changes to -i flag for finding source files

John Meacham john at repetae.net
Fri May 30 10:13:45 UTC 2014


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 <hvr at 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/


More information about the Glasgow-haskell-users mailing list