You might look at the geometry library in Fran (you can find a link in
haskell.org to Fran if you need it). It implements points and vectors
similar to what you're looking for. To answer your questions, you
can't (in standard Haskell) use the conventional operator names for
all of the
sorry if this is a silly question but
so I want to create a proper set of linear algebra tools to write a ray-tracer
in haskell, this includes a few types, a Point and a Vector both of which can be
represented by 3 Floats, I would like the following operations..
Vector+Vector = Vector
Point