haskell-lectures/VL2/content/VL2_currying4.tex

7 lines
419 B
TeX
Raw Normal View History

You can also imagine this geometrically:\\
$z = f(x, y)$ is 3-dimensional. If you fix the variable $x$ you'll make things 2-dimensional (the intersecting plane). If you then fix $y$ you'll get an actual point $z$.
\vspace{\baselineskip}
\\
2015-04-19 22:51:14 +00:00
\includegraphics*[scale=0.4]{./images/Grafico_3d_x2+xy+y2.png}
\\
For every of these steps we can define a real new function. This scales up to any number of dimensions/arguments.