Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- An interface for data which have the concept of an opposite.
Synopsis
- class Opposable a where
- getOpposite :: a -> a
Type-classes
class Opposable a where Source #
An interface which data which have the concept of an opposite, may implement.
getOpposite :: a -> a Source #