ctongfei / poly-algebra   0.4.0

MIT License GitHub

Generic math programming and algebraic typeclass abstractions for Scala

Scala versions: 2.12 2.11

poly-algebra Build Status

This is my own experiments with Scala typeclasses.

Poly-algebra is a library that contains a hierarchy of typeclass abstractions for common algebraic structures and higher-kinded functional constructs that enables generic math programming in Scala. Implicits, specialization and macros are used extensively to create an elegant API with virtually no performance cost.

Installation

libraryDependencies += "me.tongfei" %% "poly-algebra" % "0.4.0"