spice-0.1.2.1: An FRP-based game engine written in Haskell.
FRP.Spice.Math.Vector
Description
This module provides a Vector datatype as described below.
Vector
Synopsis
data Vector a Source
A datatype that houses two values of a given type. It is provided with a Num instance so that, when used with number types it can function similarly (though not exactly) to a mathematical vector.
Num
Constructors
Instances
Maps over both values in the Vector
Performs operations on the matching fields of the other Vector.
Displaying the Vector.
The default for the Vector.