
5 Jan
2009
5 Jan
'09
7:44 a.m.
Achim Schneider
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