Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.1
-
None
Description
WHAT:
JEXL currently only allow lambda body as being block of potentially multiple statements. This enhancement will allow lambda body as a single expression which would make syntax simpler in many cases.
Typical case is predicates or iteration functors.
Example:
var oddp = x-> (x % 2) == 1;
Attachments
Issue Links
- links to
Commit e2c841