Re: Revival: PROPOSAL: Literate haskell and module file names

2014-08-23 Thread Merijn Verstraaten
egards, > > Philip > > > > > > > > Van: Glasgow-haskell-users > > namens Merijn Verstraaten > > Verzonden: zaterdag 16 augustus 2014 00:40 > > Aan: haskell-prime@haskell.org; glasgow-haskell-us...@haskell.o

Re: Revival: PROPOSAL: Literate haskell and module file names

2014-08-16 Thread Merijn Verstraaten
ens > Merijn Verstraaten > Verzonden: zaterdag 16 augustus 2014 00:40 > Aan: haskell-prime@haskell.org; glasgow-haskell-us...@haskell.org > Onderwerp: Revival: PROPOSAL: Literate haskell and module file names > > Ola! > > I raised this proposal earlier this year and got to

Revival: PROPOSAL: Literate haskell and module file names

2014-08-15 Thread Merijn Verstraaten
Ola! I raised this proposal earlier this year and got to busy to follow up, this week I was suddenly reminded and decided to reraise this. To summarise the discussion up until this point: There was no real opposition to the general idea, the only real objection to the original proposal was tha

Re: PROPOSAL: Literate haskell and module file names

2014-03-26 Thread Simon Marlow
On 17/03/2014 13:08, Edward Kmett wrote: Foo+rst.lhs does nicely dodge the collision with jhc. How does ghc do the search now? By trying each alternative in turn? Yes - see compiler/main/Finder.hs Cheers, Simon On Sun, Mar 16, 2014 at 1:14 PM, Merijn Verstraaten mailto:mer...@inconsist

Re: PROPOSAL: Literate haskell and module file names

2014-03-17 Thread Sven Panne
2014-03-17 14:22 GMT+01:00 Brandon Allbery : > On Mon, Mar 17, 2014 at 9:08 AM, Edward Kmett wrote: >> >> Foo+rst.lhs does nicely dodge the collision with jhc. > > > Is this legal on Windows? According to http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx it is, altho

Re: PROPOSAL: Literate haskell and module file names

2014-03-17 Thread Brandon Allbery
On Mon, Mar 17, 2014 at 9:08 AM, Edward Kmett wrote: > Foo+rst.lhs does nicely dodge the collision with jhc. > Is this legal on Windows? -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net

Re: PROPOSAL: Literate haskell and module file names

2014-03-17 Thread Edward Kmett
Foo+rst.lhs does nicely dodge the collision with jhc. How does ghc do the search now? By trying each alternative in turn? On Sun, Mar 16, 2014 at 1:14 PM, Merijn Verstraaten wrote: > I agree that this could collide, see my beginning remark that I believe > that the report should provide a min

Re: PROPOSAL: Literate haskell and module file names

2014-03-16 Thread Merijn Verstraaten
I agree that this could collide, see my beginning remark that I believe that the report should provide a minimal specification how to map modules to filenames and vice versa. Anyhoo, I'm not married to this specific suggestion. Carter suggested "Foo+rst.lhs" on IRC, other options would be "Foo.

Re: PROPOSAL: Literate haskell and module file names

2014-03-16 Thread Edward Kmett
One problem with Foo.*.hs or even Foo.md.hs mapping to the module name Foois that as I recall JHC will look for Data.Vector in Data.Vector.hs as well as Data/Vector.hs This means that on a case insensitive file system Foo.MD.hs matches both conventions. Do I want to block an change to GHC because

PROPOSAL: Literate haskell and module file names

2014-03-16 Thread Merijn Verstraaten
Ola! I didn't know what the most appropriate venue for this proposal was so I crossposted to haskell-prime and glasgow-haskell-users, if this isn't the right venue I welcome advice where to take this proposal. Currently the report does not specify the mapping between filenames and module names