In the photo above, $F(S)$ is the set of functions with domain $S$ and codomain a field $K$. I am a little confused by the notation $f=\sum_{s \in S} f(s)\delta_s$ when evaluating $f$ in a point $s \in S$, because it leads to $f(s)=\left(\sum_{s \in S} f(s) \delta_s\right)(s)$ and, since sum of functions is defined pointwise in a previous instance of the book (that is, $(f_1+f_2)(x)=f_1(x)+f_2(x)$), we have $\left(\sum_{s \in S} f(s) \delta_s\right)(s)=\sum_{s \in S}(f(s) \delta_s)(s)$.
I see too many $s$': maybe the author should have used a different letter for the value we calculate $f$…