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. |