These are chat archives for non/algebra
I have a situation where I'd like to treat a number tuple as 2D Vector ie
type Vec2d = (Double, Double). Only need to support Addition and Subtraction operations. Whats the smallest typeclass I can implement (or better, import..) that will give me element-wise
FWIW I ended up finding answers to my question about working with 2D vectors and algebra:
AdditiveGroup, but there's no syntax yet for infix
(Double, Double)in master, after you first
sbt compile, but added after the published 0.3.1 jar so wont find in maven
MetricSpacetypeclass that would expose a distance operator. Given that Spire and Algebird do offer it, could it be added to algebra?