X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?a=blobdiff_plain;f=index.mdwn;h=2876becec9d1b810e2e2c8e9ff8b21e6d2f357a4;hb=ee0abd49d163076fd92bfb1c150b492e86d37c52;hp=3dd65ea800e21fae7a564c8acacdfa3572d975b1;hpb=908143f5f416416081b24715bfc567cbea0aeff4;p=lambda.git diff --git a/index.mdwn b/index.mdwn index 3dd65ea8..2876bece 100644 --- a/index.mdwn +++ b/index.mdwn @@ -163,10 +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 +> Topics: [[Using the OCaml Monad library|/topics/week9_using_the_monad_library]]; the State monad; Programming with mutable state; 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 +