Created
February 25, 2016 09:05
-
-
Save pjazdzewski1990/4e98a788d58045328dfe 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
tree match { | |
case q"$nextTree + $arg" => getComponent(arg) :: extractComponents(nextTree) | |
case somethingElse => getComponent(somethingElse) :: Nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment