Safe Haskell | Safe-Inferred |
---|

- data Point2' a = Point2 (a, a)
- (|+|) :: Num a => Point2' a -> Point2' a -> Point2' a
- (|-|) :: Num a => Point2' a -> Point2' a -> Point2' a
- (|*|) :: Num a => a -> Point2' a -> Point2' a
- (|@|) :: Num a => Point2' a -> Point2' a -> a
- getX :: Point2' a -> a
- getY :: Point2' a -> a
- dist :: Floating a => Point2' a -> Point2' a -> a
- l22dist :: Num a => Point2' a -> Point2' a -> a

# Documentation

Point2 (a, a) |