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

Safe HaskellNone
LanguageHaskell2010

WeekDaze.LocationView.Lesson

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the data required to define a time-slot, in the timetable viewed from the perspective of a location.
Synopsis

Types

Type-synonyms

type Lesson teacherId level = Lesson (LessonResourceIds teacherId) level Source #

Specialise for the case in which a lesson is viewed from the perspective of the location.

Translation

fromStudentView :: Show teacherId => StudentClass -> Lesson locationId teacherId level -> Lesson teacherId level Source #

Convert from the student-view to a location-view.

toStudentView :: locationId -> Lesson teacherId level -> Lesson locationId teacherId level Source #

Convert from the location-view to a student-view.