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

Safe HaskellNone
LanguageHaskell2010

WeekDaze.StudentView.LessonResourceIds

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the resources required for a lesson, from the perspective of a student-body.
Synopsis

Types

Data-types

data LessonResourceIds locationId teacherId Source #

Composed from both the locationId & teacherId.

Constructors

MkLessonResourceIds 

Fields

  • getLocationId :: locationId

    The identifier for the location at which the class will be held.

  • getTeacherId :: teacherId

    The identifier for the teacher instructing this class.

Instances
(Eq locationId, Eq teacherId) => Eq (LessonResourceIds locationId teacherId) Source # 
Instance details

Defined in WeekDaze.StudentView.LessonResourceIds

Methods

(==) :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Bool #

(/=) :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Bool #

(Ord locationId, Ord teacherId) => Ord (LessonResourceIds locationId teacherId) Source # 
Instance details

Defined in WeekDaze.StudentView.LessonResourceIds

Methods

compare :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Ordering #

(<) :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Bool #

(<=) :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Bool #

(>) :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Bool #

(>=) :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Bool #

max :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId #

min :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId #

(Show locationId, Show teacherId) => Show (LessonResourceIds locationId teacherId) Source # 
Instance details

Defined in WeekDaze.StudentView.LessonResourceIds

Methods

showsPrec :: Int -> LessonResourceIds locationId teacherId -> ShowS #

show :: LessonResourceIds locationId teacherId -> String #

showList :: [LessonResourceIds locationId teacherId] -> ShowS #

(NFData locationId, NFData teacherId) => NFData (LessonResourceIds locationId teacherId) Source # 
Instance details

Defined in WeekDaze.StudentView.LessonResourceIds

Methods

rnf :: LessonResourceIds locationId teacherId -> () #

(XmlPickler locationId, XmlPickler teacherId) => XmlPickler (LessonResourceIds locationId teacherId) Source # 
Instance details

Defined in WeekDaze.StudentView.LessonResourceIds

Methods

xpickle :: PU (LessonResourceIds locationId teacherId) #

(HTML locationId, HTML teacherId) => HTML (LessonResourceIds locationId teacherId) Source # 
Instance details

Defined in WeekDaze.StudentView.LessonResourceIds

Methods

toHtml :: LessonResourceIds locationId teacherId -> Html #

toHtmlFromList :: [LessonResourceIds locationId teacherId] -> Html #

(Eq locationId, Eq teacherId) => ResourceUser (LessonResourceIds locationId teacherId) Source # 
Instance details

Defined in WeekDaze.StudentView.LessonResourceIds

Methods

areIndependent :: LessonResourceIds locationId teacherId -> LessonResourceIds locationId teacherId -> Bool Source #

Constants