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

Safe HaskellNone
LanguageHaskell2010

WeekDaze.Model.TimetableAxisTraversal

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines a specific axis (& the sense in which that axis is traversed), in the three-dimensional coordinate-system used to describe a timetable.
Synopsis

Types

Type-synonyms

type Sense = Bool Source #

Defines the direction of travel along an axis; True being interpreted as positive & False negative.

Data-types

data AxisTraversal Source #

Defines an axis & the direction of travel along it.

Constructors

MkAxisTraversal 

Fields

Constants

senseTag :: String Source #

Used to qualify SQL & XML.

Functions

maybeSenseToList :: Maybe Sense -> [Sense] Source #

Interpret a sense-specification.

invertSense :: AxisTraversal -> AxisTraversal Source #

Construct a traversal which goes the other way along the same axis.

Predicates

hasWildSense :: AxisTraversal -> Bool Source #

True if the sense is ill-defined.