<@U6JK0PN1K> The standard library solves the code ...
# announcements
k
@darktilrisen The standard library solves the code duplication for primitives by just generating those functions, see for example this file: https://github.com/JetBrains/kotlin/blob/master/generators/src/org/jetbrains/kotlin/generators/builtins/primitives.kt