Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- The specification for a potential booking, of either a lesson or nothing, at a time, in a timetable.
Synopsis
- type GeneralisedBooking observerId timeslotId resourceIds level = (Coordinates observerId timeslotId, Maybe (Lesson resourceIds level))
- getCoordinates :: GeneralisedBooking observerId timeslotId resourceIds level -> Coordinates observerId timeslotId
- getMaybeLesson :: GeneralisedBooking observerId timeslotId resourceIds level -> Maybe (Lesson resourceIds level)
Types
Type-synonyms
type GeneralisedBooking observerId timeslotId resourceIds level = (Coordinates observerId timeslotId, Maybe (Lesson resourceIds level)) Source #
The details of a booking, of either a lesson or nothing, at a coordinate, in the timetable for an observer.
Functions
Accessors
getCoordinates :: GeneralisedBooking observerId timeslotId resourceIds level -> Coordinates observerId timeslotId Source #
Accessor.
getMaybeLesson :: GeneralisedBooking observerId timeslotId resourceIds level -> Maybe (Lesson resourceIds level) Source #
Accessor.