Hacker News new | ask | show | jobs
by revskill 1097 days ago
Category theory.

Basically, it boils down to this: F(A . B) = F(A) + F(B)

(F,A,B, ., +) could be anything which you found suitable.