PaesslerAG / gval

Expression evaluation in golang
BSD 3-Clause "New" or "Revised" License
713 stars 83 forks source link

Feature Request: high order functions (collection) #87

Open RafaeLeal opened 1 year ago

RafaeLeal commented 1 year ago

What is it?

Some special functions like filter, map, exists, all.

For example:

["project1/text.txt", "project2/text.txt"].exists(t => t.startsWith("project1"))
; => true

Why?

This would simplify a lot of some operations that would require very specific custom functions.


Let me know if that's something you have thought about it.