2 ms·
You can have your referentially-transparent cake and eat it too, but the main problem is that no one has developed a decent library that marries FantasyLand-com
by rmrfrmrf 9y ago
You can have your referentially-transparent cake and eat it too, but the main problem is that no one has developed a decent library that marries FantasyLand-compliant wrappers with Promise interop.
There are about 8 million Task/IO monad implementations and no one stopped for a second to think that `task.fork` could just return a Thenable and work with async/await as expected.
- rockymadden 9y agoThis does exist: https://github.com/fluture-js/Fluture/blob/master/README.md#promise https://github.com/fluture-js/Fluture/blob/master/README.md#... Future.of(0).promise().then(console.log);