Skip to content

Instantly share code, notes, and snippets.

@ctataryn
Created August 26, 2014 18:51
Show Gist options
  • Save ctataryn/c341e4a04d75eceaf0aa to your computer and use it in GitHub Desktop.
Save ctataryn/c341e4a04d75eceaf0aa to your computer and use it in GitHub Desktop.
val matchingNodes = for (
(node1, node2) <- node1List zip node2List
) yield compare(node1, node2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment