typelevel / algebra

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

Add algebra.std.AllInstances trait #146

Closed durban closed 8 years ago

durban commented 8 years ago

This commit changes the package object algebra.std.all to extend a new AllInstances trait instead of directly extending a lot of *Instances traits. This shouldn't change the behavior of algebra.std.all, but makes it possible to extend the new AllInstances trait in a package object in client code (e.g., if a user wants to have all instances visible by default in their packages). (This is similar to the cats.std.AllInstances trait in typelevel/cats.)

non commented 8 years ago

👍 Thanks!