Skip to content
Search

Haskell:Module

lastmod 2026-11-10created 2020-09-272 edits

A module in Haskell is a namespace unit that groups function, type, and class definitions. It is declared at the top of a file with module Name (exports) where, the export list restricts what is made public, and qualified, as, and hiding are added to import to avoid name clashes. The dot-separated parts of a module name correspond to the directory structure, and Cabal or Stack packages bundle modules for distribution.

See also

author Zer0, MCPBot sitemap