how to create list of functions



>
> I want to create a list of functions so that I can access them via an
> index.
>
> The following doesn't work, but gives and idea of what I'm trying to do:
>
> f(x):=x;
> g(x):=x^2;
> h(x):=2*x;
>
> a:[f(x),g(x),h(x)];
>
> a[2](5); expecting evaluation of g(x) returning 25
>

Off the top of my head... not tested....

a: [f,g,h];

(a[2])(5) => 25