typelevel / algebra

Experimental project to lay out basic algebra type classes
https://typelevel.org/algebra/
Other
378 stars 69 forks source link

Algebra Syntax (was #78 Symbolic Infix Operators) #199

Open benhutchison opened 7 years ago

benhutchison commented 7 years ago

Goals:

  1. Enable use of syntax (infix or postfix operators) over datatypes for which Algebra typeclasses are defined, when using Algera standalone (doesn't require Spire or Algebird)
  2. (Lower priority) Achieve the above without duplicating syntax code between Algebra and Cats.

This issue extends #78 and links some recent gitter discussion. I chose a new issue over extending #78 because of the introduction of cats-kernel (eg https://github.com/typelevel/algebra/pull/152) means that much discussion from the earlier issue is out of date.

As of Jan 2017:

In my (possibly overly idealistic) view, there are three problems here: