Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 getOpposite :: Parallel -> Parallel Source # | |
Orientated Parallel Source # | |
Defined in BishBosh.Direction.Parallel 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 reflectOnY :: Parallel -> Parallel Source # | |
ReflectableOnX Parallel Source # | |
Defined in BishBosh.Direction.Parallel reflectOnX :: Parallel -> Parallel Source # |
Constants
nParallels :: NDirections Source #
The number of verticals directions.