Hyeseong Kim

Results 397 comments of Hyeseong Kim

For other operators, I need to implement/rework additional primitives. It seems better to merge this first and then do it later on.

After sync `Pervasives_mini` a change is detected. Some comparisons are de-opted, which means there is a path for type translation to work unintentionally.

Not sure why this happens. An affected part looks like: ```res let rec everyByAux = (s, f, ~step, p) => if s > f { true } else { p(s)...

documentation issue opened https://github.com/rescript-lang/rescript-lang.org/issues/934

Random idea: if ReScript provides a default jsx runtime, we could provide a default config for jsx.

> We can't use Math.min/max for bigint values. You can't use Math.min/max for "bigint" in JS, that operations are for "number" types

We could add min/max as compiler primitives (and handle it in #7057 too), but that would add some runtime codes anyway. To make it "simple enough"

Actually the compiler's `%min` / `%max` primitives already support bigints as well, and I don't think there's reason to drop it. > "Property 'bigint_max' may not exist on type 'typeof...

Also note the bigint folding will be a bit improved in v12 by https://github.com/rescript-lang/rescript-compiler/pull/7029