projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a0307
)
assignment7 tweaks
author
Jim Pryor
<profjim@jimpryor.net>
Thu, 18 Nov 2010 19:12:52 +0000
(14:12 -0500)
committer
Jim Pryor
<profjim@jimpryor.net>
Thu, 18 Nov 2010 19:12:52 +0000
(14:12 -0500)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
hints/assignment_7_hint_2.mdwn
patch
|
blob
|
history
diff --git
a/hints/assignment_7_hint_2.mdwn
b/hints/assignment_7_hint_2.mdwn
index
07d6a7c
..
16e66e1
100644
(file)
--- a/
hints/assignment_7_hint_2.mdwn
+++ b/
hints/assignment_7_hint_2.mdwn
@@
-24,7
+24,7
@@
let bind_set (u: 'a set) (f: 'a -> 'b set) =
List.concat (List.map f u);;
-The following will be useful later: persuade yourself that `List.filter (test : 'a -> bool) (u : 'a set) : 'a set` is the same as:
+
The following will be useful later: persuade yourself that `List.filter (test : 'a -> bool) (u : 'a set) : 'a set` is the same as:
bind_set u (fun a -> if test a then unit_set a else empty_set)