| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
BishBosh.Property.Reflectable
Contents
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION- An interface for data which can be transformed by reflection.
Synopsis
- class ReflectableOnX a where
- reflectOnX :: a -> a
- class ReflectableOnY a where
- reflectOnY :: a -> a
Type-classes
class ReflectableOnX a where Source #
An interface which data which can be transformed by reflection about the x-axis, may implement.
Methods
Arguments
| :: a | |
| -> a | Reflect about the x-axis, i.e. to top to bottom & vice-versa. |
Instances
class ReflectableOnY a where Source #
An interface which data which can be transformed by reflection about the y-axis, may implement.
Methods
Arguments
| :: a | |
| -> a | Reflect about the y-axis, i.e. left to right & vice-versa. |
Instances
| ReflectableOnY Direction Source # | |
Defined in BishBosh.Attribute.Direction Methods reflectOnY :: Direction -> Direction Source # | |
| ReflectableOnY Coordinates Source # | |
Defined in BishBosh.Cartesian.Coordinates Methods reflectOnY :: Coordinates -> Coordinates Source # | |
| ReflectableOnY Move Source # | |
Defined in BishBosh.Component.Move Methods reflectOnY :: Move -> Move Source # | |
| ReflectableOnY MaybePieceByCoordinates Source # | |
Defined in BishBosh.State.MaybePieceByCoordinates Methods reflectOnY :: MaybePieceByCoordinates -> MaybePieceByCoordinates Source # | |
| ReflectableOnY Board Source # | |
Defined in BishBosh.State.Board Methods reflectOnY :: Board -> Board Source # | |