| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
BishBosh.Direction.Parallel
Contents
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION
- Describes the directional components of a line parallel to an edge of the board.
Synopsis
- data Parallel
- nParallels :: NDirections
Types
Data-types
Directions parallel to two edges of the board; those in which a Rook can move.
Instances
| Enum Parallel Source # | |
Defined in BishBosh.Direction.Parallel | |
| Eq Parallel Source # | |
| Ord Parallel Source # | |
Defined in BishBosh.Direction.Parallel | |
| Read Parallel Source # | |
| Show Parallel Source # | |
| NFData Parallel Source # | |
Defined in BishBosh.Direction.Parallel | |
| FixedMembership Parallel Source # | |
Defined in BishBosh.Direction.Parallel | |
| Opposable Parallel Source # | |
Defined in BishBosh.Direction.Parallel Methods getOpposite :: Parallel -> Parallel Source # | |
| Orientated Parallel Source # | |
Defined in BishBosh.Direction.Parallel Methods isVertical :: Parallel -> Bool Source # isHorizontal :: Parallel -> Bool Source # isParallel :: Parallel -> Bool Source # isDiagonal :: Parallel -> Bool Source # isStraight :: Parallel -> Bool Source # | |
| ReflectableOnY Parallel Source # | |
Defined in BishBosh.Direction.Parallel Methods reflectOnY :: Parallel -> Parallel Source # | |
| ReflectableOnX Parallel Source # | |
Defined in BishBosh.Direction.Parallel Methods reflectOnX :: Parallel -> Parallel Source # | |
Constants
nParallels :: NDirections Source #
The number of verticals directions.