Loïc Lamarque
01/26/2024, 8:46 AMEmailAddress
type suggested by the community, compatible with Kotlin and Java. 👀
For this year, our goal is to make it more useful for Android users. So any feedbacks or suggestions are welcomed! 🙏
Thanks for considering and have a nice Kotlin. KJavier
01/26/2024, 9:59 AMvalue class
?Loïc Lamarque
01/26/2024, 10:12 AMStrictlyPositiveInt
, but using an inline value class make it barely unusable from Java code, because the compiler replaces the inline value class by its underlying type in the ABI.
For example, this is the case for the PositiveInt.div(StrictlyPositiveInt)
function traduced as PositiveInt.div-Vo0Sc0k(I)
by the compiler (ABI for this function is available here).
Also, declaring a type as an inline value class in a library can be dangerous for consumers: changing the underlying type of an inline value class is an incompatible binary change that can produce errors without changing consumer's code.
Types provided by this library will be converted incrementally and in a backward compatible way to regular classes for these reasons.Javier
01/26/2024, 10:16 AMLoïc Lamarque
01/26/2024, 10:27 AMJohn Marshall
03/11/2024, 4:46 AMLoïc Lamarque
03/13/2024, 4:36 PMNotBlankString
type is useful for you @John Marshall. 😁
Thank you for your feedback. 🙏
Feel free to join our #kotools-types channel for getting in touch with our community and staying up-to-date with the latest changes of this project. There is more to come... 👀