Created
March 18, 2018 01:00
-
-
Save rockydd/cbd97cd5af14d92873d0333dc6f901b6 to your computer and use it in GitHub Desktop.
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
// inputTask :: String -> String -> Task | |
const name = 'dong'; | |
most.periodic(1000).take(25) | |
.scan( (x,y) => x + 1, 0) | |
.map( x => name[x%4]) | |
.observe(console.log); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment