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

Safe HaskellNone
LanguageHaskell2010

WeekDaze.TeacherView.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 teacher.
Synopsis

Types

Type-synonyms

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

Specialise for the case in which a Lesson is viewed from the perspective of the teacher.

Translation

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

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

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

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