Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.
:: 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.
:: a | |
-> a | Reflect about the y-axis, i.e. left to right & vice-versa. |
Instances
ReflectableOnY Horizontal Source # | |
Defined in BishBosh.Direction.Horizontal reflectOnY :: Horizontal -> Horizontal Source # | |
ReflectableOnY Parallel Source # | |
Defined in BishBosh.Direction.Parallel reflectOnY :: Parallel -> Parallel Source # | |
ReflectableOnY Diagonal Source # | |
Defined in BishBosh.Direction.Diagonal reflectOnY :: Diagonal -> Diagonal Source # | |
ReflectableOnY Direction Source # | |
Defined in BishBosh.Direction.Direction reflectOnY :: Direction -> Direction Source # | |
ReflectableOnY Coordinates Source # | |
Defined in BishBosh.Cartesian.Coordinates reflectOnY :: Coordinates -> Coordinates Source # | |
ReflectableOnY Move Source # | |
Defined in BishBosh.Component.Move reflectOnY :: Move -> Move Source # | |
ReflectableOnY MaybePieceByCoordinates Source # | |
ReflectableOnY Board Source # | |
Defined in BishBosh.State.Board reflectOnY :: Board -> Board Source # |