What stable type system features we are going to preserve from OCaml

Yes, that’s something on the roadmap.

potentially useful for implementing a parser in ReScript.

can you elaborate a little bit?

1 Like

Johnj’s probably mentioning thinking of lexing using pattern matching on char. I think it’s unrelated here.

1 Like

The good news is pattern match on char will continue work (including range patterns) in my prototype

2 Likes

Yes. Basically, I think that if the Js.String functions are compatible with the char type, then they’ll be much more useful for things like that.