X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=index.mdwn;h=333f362eebc57d03a776409a4c12828c15a33dfc;hp=39a312dd1bbaacdacc074443ca36ef0620fe1411;hb=2790828eae4e8144361e3f8ba230c4db07efd9e2;hpb=bef20b6d042744a46a54ca2ec4e548476ddd9311 diff --git a/index.mdwn b/index.mdwn index 39a312dd..333f362e 100644 --- a/index.mdwn +++ b/index.mdwn @@ -163,7 +163,21 @@ Practical advice for working with OCaml and/or Haskell (will be posted someday); (**Week 8**) Thursday March 26 -> Topics: [[Safe division with monads|topics/week8_safe_division_with_monads]] +> Topics: [[Safe division with monads|topics/week8_safe_division_with_monads]]; [[Long but useful ramble|topics/week8_ramble]] + +(**Week 9**) Thursday April 2 +> Topics: Programming with mutable state; the State monad; using multiple monads together + +> Here are some OCaml libraries: [[Juli8|code/juli8.ml]] and [[Monad|code/monad.ml]]. We'll write up explanations of these soon. But quickly, before you `#use "juli8.ml"`, you have to run this in your OCaml session. (I have these lines in my `~/.ocamlinit` file, so they run every time OCaml starts up: + +> #load "str.cma";; +> module Std = struct +> include Pervasives +> module List = List +> module Random = Random +> module String = String +> end +