Modulo and remainder operators
rem arithmetic operators can calculate moduli and
1 mod 3 == 1 1 rem 3 == 1 -1 mod 3 == 2 -1 rem 3 == -1
Other bugs & improvements
- Improved Rust library API for converting between Oso Values and native Rust types.
- More detailed error messages in the Rust library for type errors.
- The preview list filtering feature in
django-osonow handles more policies correctly, and consistently raises errors for policies that cannot yet be converted to a Django Query filter.
Connect with us on Slack
If you have any questions, or just want to talk something through, jump into Slack. An Oso engineer or one of the thousands of developers in the growing community will be happy to help.