Maintainer | diagrams-discuss@googlegroups.com |
---|
Various internal utilities for the diagrams project.
- (<>) :: Monoid m => m -> m -> m
- withLength :: (InnerSpace v, Floating (Scalar v)) => Scalar v -> v -> v
Monoids
(<>) :: Monoid m => m -> m -> mSource
A useful infix operator synonym for mappend
. Hopefully it will
eventually be added to the standard libraries and can be deleted
from here.
Vectors
withLength :: (InnerSpace v, Floating (Scalar v)) => Scalar v -> v -> vSource
Produce a vector with the specified length in the same direction as the given vector.