Yawar Amin

Results 110 comments of Yawar Amin

Is this regarding #2765 ?

@bobzhang your approach here made me think about this a bit more and now I think we can do dynamic imports with just `bs.val` and `bs.as` (treating `import` as just...

@tejesh014 sure, that makes sense. I'll write up an article about it on my blog when I get some time.

@Voronchuk hi, you can save a nesting level by matching on a pair of `(i, negate i)`, e.g. ```elm test : Int -> Int test i = case (i, negate...

Does this include JS output for string interpolation? E.g., currently the output for the following: ```reason let x = 1; let y = false; let result = {j|The number is...

@bobzhang to avoid possible conflicts, I think something like `bsb -config dev` to pick up `bsconfig.dev.json`.

@alexfedoseev I think it was suggested in the Discord that `OCAMLRUNPARAM` can be used to set the warnings on each run of `bsb`. Anyway, if we are indeed going for...

We don't need a special literal imho. `BigInt(1)` is the same as `1n` in JS. It can be done purely with bindings, say, a `Js.BigInt` module. `Js.BigInt.ofInt`, `ofString`, etc., can...

It would make it perhaps slightly more convenient to do e.g. `%bigint(10000000000000)` instead of `BigInt.ofString("10000000000000")`, I just don't know if it's worth the tradeoff of implementing custom support in the...

@somebody1234 aren't strings interned by JS runtimes nowadays? And in any case, I doubt that calling the constructor like `BigInt("1")` would allocate a string. @tom-sherman anyone can send a PR...