Skip to content

Instantly share code, notes, and snippets.

@rockydd
Created March 18, 2018 01:00
Show Gist options
  • Save rockydd/cbd97cd5af14d92873d0333dc6f901b6 to your computer and use it in GitHub Desktop.
Save rockydd/cbd97cd5af14d92873d0333dc6f901b6 to your computer and use it in GitHub Desktop.
// 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