Skip to content

Instantly share code, notes, and snippets.

@sundeepgupta
Last active June 4, 2018 20:24
Show Gist options
  • Save sundeepgupta/c7773c8215bd630913676b2f2776afce to your computer and use it in GitHub Desktop.
Save sundeepgupta/c7773c8215bd630913676b2f2776afce to your computer and use it in GitHub Desktop.
FlatMap Article - Normal Operation
project.addDeveloper(jim) // Jim started coding...
jim.pushCommit("1") // CI is building Commit(author: "Jim", hash: "1").
project.addDeveloper(anna) // Anna started coding...
jim.pushCommit("2") // CI is building Commit(author: "Jim", hash: "2").
anna.pushCommit("3") // CI is building Commit(author: "Anna", hash: "3").
jim.pushCommit("4") // CI is building Commit(author: "Jim", hash: "4").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment