If I give you a function "f(x) := 3 * x", is it really that useful to talk about it as a container of the natural numbers?
The reverse though is useful, a container looks like a function that takes one or more indices and returns a value or element.
The reverse though is useful, a container looks like a function that takes one or more indices and returns a value or element.
But then I've never thought the concept of a pure function to be particularly difficult, despite growing up on procedural languages.
It's other bits that I struggle with when it comes to functional programming.