X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=topics%2Fweek1_advanced_notes.mdwn;h=640becb74b861c7130ce14bc7b2a60c3e01595e2;hp=dd143fc61cb4746e96f60eaea27e89081fea3b49;hb=e1fdd8196ae3bea9817524b6951d299497c0ec7a;hpb=c8d77fee6e911a407c542aa6c4f0211b87ac20c8
diff --git a/topics/week1_advanced_notes.mdwn b/topics/week1_advanced_notes.mdwn
index dd143fc6..640becb7 100644
--- a/topics/week1_advanced_notes.mdwn
+++ b/topics/week1_advanced_notes.mdwn
@@ -2,6 +2,7 @@ These are some advanced notes extending the material presented this week. Don't
[[!toc]]
+
### More on multivalues ###
A multivalue is a series of *zero or more* values. They are the result of evaluating expressions that consist of *zero or more* expressions, separated by commas, and enclosed in parentheses. So these expressions evaluate to multivalues:
@@ -47,7 +48,7 @@ In OCaml, there are no until-the-end-of-the-line comments. The only comments sta
I agree it's annoying that these conventions are so diverse. There are plenty other commenting conventions out there, too.
-
+
### Matching function values ###
A function value doesn't have any structure---at least none that's visible to the pattern-matching system. You can only match against simple patterns like `_` or the variable `f`.