|
Distribution.ModuleName | Portability | portable | Maintainer | cabal-devel@haskell.org |
|
|
|
Description |
Data type for Haskell module names.
|
|
Synopsis |
|
|
|
Documentation |
|
|
A valid Haskell module name.
| Instances | |
|
|
|
Construct a ModuleName from a valid module name String.
This is just a convenience function intended for valid module strings. It is
an error if it is used with a string that is not a valid module name. If you
are parsing user input then use Distribution.Text.simpleParse instead.
|
|
|
The individual components of a hierarchical module name. For example
components (fromString "A.B.C") = ["A", "B", "C"]
|
|
|
Convert a module name to a file path, but without any file extension.
For example:
toFilePath (fromString "A.B.C") = "A/B/C"
|
|
|
The module name Main.
|
|
|
|
Produced by Haddock version 2.6.0 |