| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Rectangle
Description
A type representing a parallelogram (doesn't just have to be a rectangle).
Documentation
Constructors
| Rectangle | |
Fields
| |
mkRectangle :: Point -> Point -> Rectangle Source #
Constructor for a rectangle; supply one point for the top left and one point for the bottom right.