projects
/
lambda.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added proto-monad
[lambda.git]
/
assignment5.mdwn
diff --git
a/assignment5.mdwn
b/assignment5.mdwn
index
f6ae94b
..
4a4e06d
100644
(file)
--- a/
assignment5.mdwn
+++ b/
assignment5.mdwn
@@
-185,7
+185,7
@@
binary trees working in OCAML.
Consider the following list type:
-
data
type ’a list = Nil | Cons of ’a * ’a list
+ type ’a list = Nil | Cons of ’a * ’a list
We can encode τ lists, lists of elements of type τ as follows: