Simplify function composition slide

This commit is contained in:
Julian Ospald 2015-05-01 16:42:18 +02:00
parent 29df3d710a
commit cc75bd68ef
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 220CD1C5BDEED020
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni

Vedi File

@ -2,7 +2,7 @@
\vspace{\baselineskip}
\\
\ifger{Aus der Mathematik wissen wir bereits, dass:}{From maths we already know that:}\\
$(g \circ f)(x) = g(f(x))$
$(f \circ g)(x) = f(g(x))$
\vspace{\baselineskip}
\\
\pause
@ -14,7 +14,7 @@ composedFunction x = (f . g) x
-- is evaluated first
composedFunction x = f . g $ x
-- and same again, remember that 'f x ='
-- and same again, remember that 'g x ='
-- is just syntax sugar
-- omitting the x here is also called eta reduction
composedFunction = f . g