In fact functions are just infinite-dimensional vectors. Almost all of the theory goes through unchanged. This is the basic idea of functional analysis.
A large part of functional analysis is dealing with that fact and its implication for PDEs.
The result for measurable functions (not almost functions) shouldn't be true (I think). I am not even sure it is true for L^1 almost functions.