| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
WeekDaze.Identifiers.TimeslotId
Description
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 TimeslotId
- mkTimeslotId :: Int -> TimeslotId
Types
Data-types
data TimeslotId Source #
Define a concrete type for the identifier of a time-slot in any day.
Instances
Constants
Functions
Constructor
mkTimeslotId :: Int -> TimeslotId Source #
Constructor.