ion-schema-kotlin
ion-schema-kotlin copied to clipboard
refactor range implementations in software.amazon.ionschema.internal.util
In particular, note that:
- IntRange duplicates functionality provided by RangeInt, but offers some nice simplifications, as well as exposes the right interface for use by StateMachine
- RangeFactory.rangeOf() is awkward; perhaps the codebase is better off without a factory here
- the heavy use of delegation tends to be confusing; is there a way to simplify (or at least clarify) how this works?