Paul Tsnobiladzé

Results 55 comments of Paul Tsnobiladzé
trafficstars

ok cool, I'll go for it then! 😀

With uncurried mode we would not even need a wrapper, this would be enough: ```res @send external zoraEqual: (t, 't, 't, ~msg: string=?) => unit = "equal" ```

A search and replace should do the rest :)

any news on this? I've bumped into the same kind of error, I wanted to use `@required(action: THROW)` as a way to detect if a user was logged in, catch...

the other workaround would be to [manually curry the type](https://rescript-lang.org/try?version=v11.0.0-rc.9&code=C4TwDgpgBMA8DkAbAlgZ2BAdhATgGinlAD4AoCADwx0wENEoAzHAewFsBlYHZTAcwBcUdD35QAvMRgJaEqfABGBIiCnioAIgCkyACZZgyUBtKhIMAEylSAehtQA7ixwBrVKUQRgMSsCFwRXj45KABXTCMCYAs1JlZObiCACg0MKg0ASg8vKF4MPlx-WDyQ8MjLWOZ2LlE+FLyIApxM23tdFghUR2cXKEwWB2zvNOAAQUxdAElMfMLpQLFJXJnSiOAomIk46sT+FJHxqZnG3BagA): ``` let textAndInteger: t int => unit, t2> = fromString("textAndInteger") ``` But I guess you can't have it all once...

Can't we just drop support for nodejs 16 and only support node > 18? They dropped support for node 16 last August already.

I'm all for it, dict literals are quite a pain today, this would fix the situation.

I also think this could unlock quite a lot of innovation for rescript, I'm all for it. Could you detail in this example what part belongs to the JSX PPX...

This is a quite interesting use-case. I don't see how we could have different shapes for structural variants. But couldn't we use nominal variants here since we can then coerce...

> Yeah, that works for defining it (since 11.0.0-beta.4), but unfortunately you can't then narrow the type again (going from `t` to `feature` or `geometry`), which means you can't make...