90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
Additions
- Added new (undocumented)
cast
andnullCast
extension functions for functional programming style of type casting. Ex: val thing: MyType2 =myType1.cast<MyType2>().withThing().doAnotherThing()
Changes
- Optimized
Expression
with pre-compiled shortcuts for many situations; optimized constant usage. - Expressions now have
hashcode
andequals
methods for direct comparison.
Fixes
- None.