Jono Prest

Results 12 comments of Jono Prest

Bumping this as I'm also experiencing flickering in iTerm...

I still feel it would be useful to have `@genType.as("...")` attribute as well. It's helpful in that you can have idiomatic type names in both ReScript and TypeScript. For instance...

This would be awesome. Would also love to be able to spread dicts and append just like the "list" syntax for immutable operation. I'm sure I saw it mentioned somewhere,...

For reference this is what it should parse as: ```res let demoDict = dict{"a": 1, "b": 2} //Compiles to let _ = Js.Dict.fromArray([("a", 1), ("b", 2)]) let _ = dict{...demoDict,...

It seems I've broken some tests 🤔, will see if I can debug it 👍🏼

> It would be great if we could get > > ```rescript > let demoDict = dict{"a": 1, "b": 2} > ``` > > to compile to > > ```js...

Just noting #6617 supports spread syntax if you want to vendor anything across.

> @JonoPrest It seems `rescript format` runs the format for all files in parallel, see > > https://github.com/rescript-lang/rescript-compiler/blob/c7dedbbfdf89f9cfa01205f2850f82fbb77cb651/scripts/rescript_format.js#L79 > > This should be easy to solve by doing it in...

> TIL: I never noticed that I can use GADT signature like that > > > > I plan to completely rewrite genType as a major milestone in v12, aiming...

> Hello @JonoPrest That's how floating point numbers work. You hardly get a very precise one. Typically you can use a format string like "{:.2}" for that Hey @sunng87 I...