Last active
June 14, 2018 08:31
-
-
Save awto/3e86cfaa9b6671e274932bf601c09111 to your computer and use it in GitHub Desktop.
non-determinism
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nonDet = run( | |
function*(value) { yield value }, | |
function*(arg, fun) { | |
for(const i of arg) | |
yield* fun(i) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment