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 TeacherId
- mkTeacherId :: String -> TeacherId
Types
Data-types
Define a concrete type for the identifier for a teacher.
Instances
Eq TeacherId Source # | |
Ord TeacherId Source # | |
Defined in WeekDaze.Identifiers.TeacherId | |
Read TeacherId Source # | |
Show TeacherId Source # | |
NFData TeacherId Source # | |
Defined in WeekDaze.Identifiers.TeacherId | |
XmlPickler TeacherId Source # | |
Defined in WeekDaze.Identifiers.TeacherId | |
HTML TeacherId Source # | |
Defined in WeekDaze.Identifiers.TeacherId |
Constants
Functions
Constructor
mkTeacherId :: String -> TeacherId Source #
Constructor.