projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f1086f3
)
edits
author
Chris Barker
<barker@omega.(none)>
Sun, 31 Oct 2010 14:22:11 +0000
(10:22 -0400)
committer
Chris Barker
<barker@omega.(none)>
Sun, 31 Oct 2010 14:22:11 +0000
(10:22 -0400)
week7.mdwn
patch
|
blob
|
history
diff --git
a/week7.mdwn
b/week7.mdwn
index
52bc8eb
..
f511404
100644
(file)
--- a/
week7.mdwn
+++ b/
week7.mdwn
@@
-115,9
+115,9
@@
val unit : 'a -> 'a option = <fun>
</pre>
The parentheses is the magic for telling Ocaml that the
</pre>
The parentheses is the magic for telling Ocaml that the
-
function to be defined (in this case, the name of the function
-
is `*`, pronounced "bind") is an infix operator, so we write
-
`m * f` or `( * ) m f` instead of `* m f`.
+function to be defined (in this case, the name of the function
+is `*`, pronounced "bind") is an infix operator, so we write
+`m * f` or `( * ) m f` instead of `* m f`.
* Associativity: bind obeys a kind of associativity, like this:
* Associativity: bind obeys a kind of associativity, like this: