>> Achim Schneider <bars...@web.de> writes:

>> > import [qualified] module Foo [as F] [hiding(baz)] where
>> >    bar = undefined
>> >    baz = bar

>> Why do you want the 'where' there?  

> Because the module definition syntax is "module Foo[(exports] where"...
> technically, it's not necessary, but it's nice.

Right - I missed the 'module' and just read it as an import
statement.  Clearly your proposal here goes beyond mine, what are the
advantages? I.e, what's the rationale for syntactical changes instead of

>> simply treat[ing] a file Foo.Bar as a concatenation of module
>> Foo.Bar and optionally modules Foo.Bar.*?

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to