Paul Tsnobiladzé
Paul Tsnobiladzé
> Looking great! But I don't think the arithmetic operators can overlap with the regular int ones...? cc @cristianoc Can't we just open the BigInt module for this?
I just meant that the regular `+` is defined for big ints in RescriptCore.BigInt module for example, so when you open BigInt, you can use the regular `+` for big...
You could actually even keep it for strings, so it's like JS. But I wouldn't trade any performance for this! If it has an impact, then adding operators for big...
Let's stick to a new set of custom operators then? For the syntax itself, I have 0 inspiration, I'd say `+!` or `+n` (but this one feels a bit weird...
> Is there inspiration for the `+!` idea? Nothing precise, just the fact that we need some character that is not already a math operator (`+*` or `+-` would obviously...
> @tsnobip Did Dusty's suggestion work for you? > > > Are you doing the same thing as [parallel.test.res](https://github.com/dusty-phillips/rescript-zora/blob/main/tests/parallel.test.res)? Does that file work for you? to be honest I don't...
I'm also pretty sure it now works out of the box.
I think `rescript-test` does some name mangling when building out of source, we'll investigate how to make it compatible with inline-test-ppx.
yeah @wokalski I guess this is something else.
now that core is part of the compiler I guess we can close this one.