| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
WeekDaze.Model.TimetableAxis
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION- Names the axes of the conceptually 3-D data-structure of the timetable.
Synopsis
- data Axis
- = ObserverId
- | Day
- | TimeslotId
- tag :: String
- range :: [Axis]
- getOthers :: Axis -> [Axis]
- getPerpendicular :: Axis -> Axis -> Axis
Types
Data-types
Defines the three orthogonal axes of a timetable.
Constructors
| ObserverId | This axis spans the coordinates defined by the observerId, which is one of student-body, location-id, or teacher-id. |
| Day | This axis spans the days of the week. |
| TimeslotId | This axis spans the identifier of a time-slot, within a day. |