thought2/elm-vectors

Polymorphic vectors for Elm


Install
elm-package install thought2/elm-vectors 1.0.0

Documentation

elm-vectors

This Elm library provides polymorphic Vector types and some general operations for them.

type Vec2 a
    = Vec2 a a


If you're looking for something fast and Float specific, than maybe the elm-community/linear-algebra is a good choice for you.

A source of inspiration was Haskell's linear package.