Skip to content

Instantly share code, notes, and snippets.

@disnet

disnet/operators.js

Created Apr 10, 2017
Embed
What would you like to do?
operator >>= left 1 = (left, right) => {
return #`${left}.then(${right})`;
}
fetch('/foo.json') >>= resp => { return resp.json() }
>>= json => { return processJson(json) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.