From: Jim Pryor Date: Fri, 19 Nov 2010 05:28:28 +0000 (-0500) Subject: assignment7 tweaks X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=8fb69b5fc5ded83a0b3adfef69c01f259f8432ab assignment7 tweaks Signed-off-by: Jim Pryor --- diff --git a/hints/assignment_7_hint_3.mdwn b/hints/assignment_7_hint_3.mdwn index 8382a9bb..d3e06c53 100644 --- a/hints/assignment_7_hint_3.mdwn +++ b/hints/assignment_7_hint_3.mdwn @@ -5,7 +5,7 @@ A set is just another monadic layer. We've already talked about list monads, and we can for these purposes just use list monads to represent set monads. Instead of sets of possibilities, we'll be working with sets of `dpm`s, that is, sets of discourse possibility monads, or computations on discourse possibilities. -As I said, for simplicity, we'll represent sets using lists: + As I said, for simplicity, we'll represent sets using lists: type 'a set = 'a list;; let empty_set : 'a set = [];;