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:
2a5b500
)
towards monads: tweak error message
author
Jim Pryor
<profjim@jimpryor.net>
Mon, 1 Nov 2010 04:46:22 +0000
(
00:46
-0400)
committer
Jim Pryor
<profjim@jimpryor.net>
Mon, 1 Nov 2010 04:46:22 +0000
(
00:46
-0400)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
towards_monads.mdwn
patch
|
blob
|
history
diff --git
a/towards_monads.mdwn
b/towards_monads.mdwn
index
c8cbe21
..
378310f
100644
(file)
--- a/
towards_monads.mdwn
+++ b/
towards_monads.mdwn
@@
-36,7
+36,7
@@
val div' : int -> int -> int option = fun
# div' (div' 12 3) 2;;
Characters 4-14:
div' (div' 12 3) 2;;
- ^^^^^^^^^^
+
^^^^^^^^^^
Error: This expression has type int option
but an expression was expected of type int
*)