Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines a suitable type for its polymorphic namesake.
CAVEAT
- Exporting nothing but the type-constructor forces this to be used only as an interface, & therefore to be easily replaced; though a data-constructor is also exported for testing.
Synopsis
- data LocationId
- mkLocationId :: String -> LocationId
Types
Data-types
data LocationId Source #
Define a concrete type for the identifier for a location.
Instances
Constants
Functions
Constructor
mkLocationId :: String -> LocationId Source #
Constructor.