add anchor for #dollar
[lambda.git] / topics / week1_advanced_notes.mdwn
index 640becb..2137d11 100644 (file)
@@ -130,6 +130,7 @@ Both of these strategies work. But they are a bit inefficient. I said you didn't
     end
 
 
+<a id=dollar></a>
 ### $ Syntax ###
 
 Haskell has a useful bit of syntax that we will adopt. They use `$` as an infix operator that has the same kind of effect as Russell &amp; Whitehead's period. It is semantically inert, and only affects grouping. It enables you to avoid some parentheses in lots of situations. For example, if you want to check that a sequence `xs` is not empty, you'd express that like this: