Adding non-working exmaple.
Got one working.
Just pass a function that returns Boolean to the checkBounds method, which means I can
change it to be more general.
Dropping BoundedIntOps and IntNarrowing. Going in a different direction.
Renamed "bounded" to "restricted", since the macro is more general now. Could do EvenInt or OddInt easily now, for example.
Refactor numerics to use macro helpers
Fix typos
Add numeric operations to Pos/Poz numbers
Merge two of the NumericMacroHelpers arg lists into one
Trying moving the widening conversions all into the PosInt companion. Seems to work.
Got rid of commented out implicits that were being prioritized apparently unecessarily.
Add implicit defs to numeric types
Merge branch 'refactor-numeric-arglists' of https://github.com/gcberger/scalatest
Merge branch 'add-implicits-to-numbers' of https://github.com/gcberger/scalatest
Use StrictCheckedEquality in Poz*Specs.
Added "should not compile" versions of widening assertions to PozFloatSpec, as an example.
Deleted unused, commented-out test code.
Renamed NumericMacroHelpers to CompileTimeAssertions.
Added a compile-time assertion for string literals.
Added a compile-time assertion for Char literals.