Cosas is a library for doing macros-free type-dependent generic programming in Scala.
Add this to build.sbt
:
libraryDependencies += "ohnosequences" %% "cosas" % "<version>"
(see the latest version on the badge above)
This library is currently cross-compiled and tested with Scala 2.11.11 and 2.12.3. Using an older version of Scala may cause problems due to the bugs in scalac.
Check tests code for the usage examples: