Safe Haskell  None 

Language  Haskell2010 
AUTHOR
 Dr. Alistair Ward
DESCRIPTION
 Defines a lesson, suitable for any timeslot in the generic timetable.
Synopsis
 type GeneralisedLesson resourceIds level = Maybe (Lesson resourceIds level)
 data Lesson resourceIds level = MkLesson {
 getResourceIds :: resourceIds
 getSubject :: Subject level
Types
Typesynonyms
type GeneralisedLesson resourceIds level = Maybe (Lesson resourceIds level) Source #
A potentially undefined lesson.
Datatypes
data Lesson resourceIds level Source #
 Defines a potential booking of the resources required to teach a subject.
 It doesn't specify the timeslot at which it's to be booked, because that's defined by it's position within a timetable.
 A timetable composed from these lessons, can be viewed by either a location, student or teacher, so
getResourceIds
is polymorphic.
MkLesson  

Instances
(Eq resourceIds, Eq level) => Eq (Lesson resourceIds level) Source #  
(Ord resourceIds, Ord level) => Ord (Lesson resourceIds level) Source #  
Defined in WeekDaze.Model.Lesson compare :: Lesson resourceIds level > Lesson resourceIds level > Ordering # (<) :: Lesson resourceIds level > Lesson resourceIds level > Bool # (<=) :: Lesson resourceIds level > Lesson resourceIds level > Bool # (>) :: Lesson resourceIds level > Lesson resourceIds level > Bool # (>=) :: Lesson resourceIds level > Lesson resourceIds level > Bool # max :: Lesson resourceIds level > Lesson resourceIds level > Lesson resourceIds level # min :: Lesson resourceIds level > Lesson resourceIds level > Lesson resourceIds level #  
(Show resourceIds, Show level) => Show (Lesson resourceIds level) Source #  
(NFData level, NFData resourceIds) => NFData (Lesson resourceIds level) Source #  
Defined in WeekDaze.Model.Lesson  
(XmlPickler level, XmlPickler resourceIds, Show level) => XmlPickler (Lesson resourceIds level) Source #  
Defined in WeekDaze.Model.Lesson  
(HTML level, HTML resourceIds) => HTML (Lesson resourceIds level) Source #  
Defined in WeekDaze.Model.Lesson 