Isn't something like this more succinct but just as expressive without losing the declarative nature?

exm.

let sumOfSquares nums = sum (each nums sqr)

sumOfSquares [0,2,5,8]