Personal tools

Views

Hierarchical module names

From HaskellWiki

Hierarchical module names are an early extension of Haskell 98, now included in Haskell 2010. Haskell 98 only allowed atomic module names like

List

which was later moved into the hierarchical naming scheme as

Data.List

.

For new libraries the question arises, of where to place new modules.
If you upload a package to Hackage it will check whether your modules at least use common names for module directories at the top level.

Edison -- (opt, uses multi-param type classes)
Prelude -- large self-contained packages should have
Collection -- their own hierarchy? Like a vendor branch.
Queue -- Or should the whole Edison tree be placed