Kevin Barabash

Results 176 comments of Kevin Barabash
trafficstars

Cool. I'll reopen this then.

I tried calling `Js_dump_string.escape_to_string` from res_printer.ml, but napkin doesn't have access to anything from the `core` module since it appears first in `bsc_libs` in ninja.js. This is the error message...

I ended up copying `escape_to_string` over to res_printer.ml. Unfortunately, `"\000\000\246\255\247\255"` hasn't been converted to bytes yet so calling `escape_to_string` does nothing. Looks like `parseStringLiteral` from res_core.ml might do the trick.

I was able to get things working for `./rescript format`, but copying a bunch of code into res_printer.ml isn't a viable solution. I still haven't figured out does the work...

Looking at `parseStringLiteral` in res_core.ml, it parses `\123` as decimal and supports `\o` but in JS `\123` is octal and `\o` isn't supported. I can change the string parser to...

I did some more experimenting with JS octal escapes, and they're going to be annoying to parse because they can be variable number of characters, for instance both `"\70"` and...

What does `unpack` do?

Maybe there should be a `cancelScheduledNotes` function. It seems like a common use case.

We have some HOCs in our code base along with our functions, constants, and stuff. It would be nice if react-docgen expanded its remit beyond strictly components. Are there any...

I wanted something like the following: ``` fn parser() -> impl Parser { let mut id: u32 = 0; recursive(|value| { ... just("true") .map(|_| { let node = Json::Bool(true, id);...