If you want you can do very functional stuff in Groovy. Here's an example of function composition:
f = { it * 3 }
g = { it + 4 }
h = f << g
h(2)
18
The reason this is not particularly common usage is not because you can't do it, but because most people don't find it very intuitive.