weekdaze-0.0.0.2: A school-timetable problem-solver.

Safe HaskellNone
LanguageHaskell2010

WeekDaze.Model.GeneralisedBooking

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
The specification for a potential booking, of either a lesson or nothing, at a time, in a timetable.
Synopsis

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.