Closed lucaswerkmeister closed 6 years ago
Okay, this is freaky, apparently this works almost completely without any formatter changes?
persons
.filter( => element.age >= 18)
.sort( => x.lastName <=> y.lastName)
.map( => element.name->element.email)
.each(print);
The only thing that’s not as it should be is the space in front of the =>
.
Ah, of course, functions can have multiple parameter lists, so syntactically this is just a function expression with zero parameter lists :)
See ceylon/ceylon#7190.