Comment by lerno 3 months ago You could still do it as a userland feature and implement add/sub/mult/div as methods on the type. 3 comments lerno Reply djmips 3 months ago That never works as well as having it built into the compiler. lerno 3 months ago Well, you're free to revive this issue: https://github.com/c3lang/c3c/issues/1451. I'd need a more solid proposal. Joshringuk 3 months ago You can define your own "built-ins" types and functions(!) so that should make it indistinguishable.You can also extend the standard Library from inside your own project, modules are open for extension
djmips 3 months ago That never works as well as having it built into the compiler. lerno 3 months ago Well, you're free to revive this issue: https://github.com/c3lang/c3c/issues/1451. I'd need a more solid proposal. Joshringuk 3 months ago You can define your own "built-ins" types and functions(!) so that should make it indistinguishable.You can also extend the standard Library from inside your own project, modules are open for extension
lerno 3 months ago Well, you're free to revive this issue: https://github.com/c3lang/c3c/issues/1451. I'd need a more solid proposal.
Joshringuk 3 months ago You can define your own "built-ins" types and functions(!) so that should make it indistinguishable.You can also extend the standard Library from inside your own project, modules are open for extension
That never works as well as having it built into the compiler.
Well, you're free to revive this issue: https://github.com/c3lang/c3c/issues/1451. I'd need a more solid proposal.
You can define your own "built-ins" types and functions(!) so that should make it indistinguishable.
You can also extend the standard Library from inside your own project, modules are open for extension