Gosu Functional processing http://aruld.info/why-java-8-will-be-a-top-contender-for-java-next-languages/
var employees = { "neal", "s", "stu", "j", "rich", "bob" } | |
var result = employees.where(\s -> s.length > 1) | |
.map(\s -> s.capitalize()) | |
.join(",") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment