On Wed, 8 Dec 2004, Duncan Coutts wrote:

> I use HashTable like so:
> 
> import Data.HashTable (HashTable)
> import qualified Data.HashTable as HashTable

If you give a generic name for the type, you can leave out the first
'import' and can stick completely to qualified identifiers, like
HashTable.T. This makes also clear that the module name should match the
data type described in the module (particularly in singular form), and
that each module should handle only one (essential) data type.

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to