From cc75bd68efe0fe88b3fd78a74173673851de9591 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 1 May 2015 16:42:18 +0200 Subject: [PATCH] Simplify function composition slide --- VL2/content/VL2_composition1.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VL2/content/VL2_composition1.tex b/VL2/content/VL2_composition1.tex index a0ba8d5..5cf1219 100644 --- a/VL2/content/VL2_composition1.tex +++ b/VL2/content/VL2_composition1.tex @@ -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