Computers are functional mappings from inputs to outputs, sure.
Analog fire computers are continuous mappings from a continuum, a line segment (curved about a cam), to another continuum, a dial perhaps.
Symbolic operations, mapping from patterns of 0s and 1s (say) to other patterns are discrete, countable mappings.
With a real valued electrical current, discrete symbols are forced by threshold levels.