Achim Schneider <bars...@web.de> wrote: > Ketil Malde <ke...@malde.org> wrote: > > > 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? Why not simply treat a file > > Foo.Bar as a concatenation of module Foo.Bar and optionally modules > > Foo.Bar.*? > > > Because the module definition syntax is "module Foo[(exports] > where"... technically, it's not necessary, but it's nice. > Additionally, I don't think concatenation works well here, n-ary trees work better.
module Foo where import module Bar where import module Baz where quux = undefined quux' = quux . quux quux'' = quux' . quux' quux''' = quux'' . quux'' would be nice. -- (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. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe