You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we switch to ReScript syntax we can even use numbers as poly variants in the most recent release.
[edit] that's a bad idea because the whole point of variant encoded types is to use names, not numbers.
This is a relatively recent feature of ReScript, and will replace the variant-based code that requires runtime functions, for example:
https://github.com/tinymce/rescript-webapi/blob/0c9e9211785852e69f2d2a17c765e63c5697217f/src/Webapi/Dom/Webapi__Dom__Element.re#L76-L86
The text was updated successfully, but these errors were encountered: