A Counter class for Scala
For sbt, use:
libraryDependencies += "org.reactormonk" %% "counter" % "1.3.3"
or when you prefer the seq approach:
"org.reactormonk" %% "counter" % "1.3.3",
Read the source or use completion. Should be self-explanitory. toCounter exists so you can typecast a Counter to another Numeric type.
- To tpolecat for the Numeric implicits help.