How can I use the new @ryyppy/rescript-promise in the rescript Playground?

Hello, what bindings do I have to include o be able to use the new Promise library by @ryyppy in the Playground?

It’s a great resource and since I am just getting into Rescript I’d prefer to learn the new approach first.

Thanks in advance

You’d need to copy the source code of the Promise.res file into a Promise submodule within the playground itself.

It’s currently a little tricky side-loading third party ReScript code bc of different technical limitations.

1 Like