|
|
|
|
|
| Description |
| Module for handling the points
|
|
| Synopsis |
|
| class Num a => Points p a | p -> a where | |
|
|
|
| The Points class
|
|
| class Num a => Points p a | p -> a where |
| | Methods | | createPoint :: a -> a -> p | | Create a point from two coordinates
| | | getX :: p -> a | | Returns the X componente of the coordinate
| | | getY :: p -> a | | Returns the Y componente of the coordinate
| | | equal :: p -> p -> Bool | | Check if the two coordinates are equal
|
| | Instances | |
|
|
| Produced by Haddock version 0.7 |