refine note on sections
authorJim <jim.pryor@nyu.edu>
Mon, 2 Feb 2015 23:10:51 +0000 (18:10 -0500)
committerJim <jim.pryor@nyu.edu>
Mon, 2 Feb 2015 23:10:51 +0000 (18:10 -0500)
topics/week1_advanced_notes.mdwn

index 560a1c4..1974565 100644 (file)
@@ -207,6 +207,8 @@ if we want to use `( + )`, we have to instead write:
 
 It may not be obvious now why this would ever be useful, but sometimes it will be.
 
 
 It may not be obvious now why this would ever be useful, but sometimes it will be.
 
-Confession: actually, what I described here diverges a *tiny* bit from what OCaml and Haskell do. They wouldn't really write `(+) (x, y)` like I just did. Instead they'd write `(+) x y`. We will look at the difference between these next week.
+All of these shorthands `(10 - )`, `( & ys)` and `( + )` are called "sections". I don't know exactly why.
+
+Confession: actually, what I described here diverges *a bit* from how OCaml and Haskell treat `( + )`. They wouldn't really write `(+) (x, y)` like I did. Instead they'd write `(+) x y`. We will look at the difference between these next week.