Source: https://www.inf.unibz.it/~artale/DML/Lectures/slides9-functions.pdf