Closed idkjs closed 3 years ago
I'm not sure what the question here is, but not all examples are 100% accurate, but the code does what's described
Also, are there any tests for the reasonml code?
The reason/rescript is the JS code is the reason code, so to speak. It's a lot more ergonomic to write Jest tests (or any tests from the frameworks I've seen) in JS, and that doesn't affect or change the validity of the tests and what they assert about the Reason code.
Sorry. The example expects an output of 10 20
but produces 7 15
. Since your code is probably right, the note should read /* Prints 7 15 to the console. */
Was just an FYI, sir.
I'll have to go through all the examples after I'm back at work and will update them ✌️
Alread did here if that helps -> https://github.com/idkjs/wonka-docs
PromiseSource doesnt work MakeSubject doesnt work
Also, are there any tests for the reasonml code?