
Ketil Malde
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
module Foo where [...] import Foo just doesn't look elegant to my eyes so I'd like to have it in one statement, that's all. -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited.